[ 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.
stream |
a Stream object |
trans |
a StreamTransport in |
user_data |
user data that has been given to transport_filter |
a FilterResult. |