StreamTransportFilterFunc


Description:

[ CCode ( cname = "GstRTSPStreamTransportFilterFunc" , instance_pos = 2.9 ) ]
public delegate FilterResult StreamTransportFilterFunc (Stream stream, StreamTransport trans)

This function will be called by the transport_filter.

An implementation should return a value of FilterResult.

When this function returns REMOVE, trans will be removed from stream.

A return value of KEEP will leave trans untouched in stream.

A value of REF will add trans to the result List of transport_filter.

Parameters:

stream

a Stream object

trans

a StreamTransport in stream

user_data

user data that has been given to transport_filter

Returns:

a FilterResult.


Namespace: Gst.RTSPServer



2022 vala-language.org