SessionFilterFunc


Description:

[ CCode ( cname = "GstRTSPSessionFilterFunc" , instance_pos = 2.9 ) ]
public delegate FilterResult SessionFilterFunc (Session sess, SessionMedia media)

This function will be called by the filter.

An implementation should return a value of FilterResult.

When this function returns REMOVE, media will be removed from sess.

A return value of KEEP will leave media untouched in sess.

A value of GST_RTSP_FILTER_REF will add media to the result List of filter.

Parameters:

sess

a Session object

media

a SessionMedia in sess

user_data

user data that has been given to filter

Returns:

a FilterResult.


Namespace: Gst.RTSPServer



2022 vala-language.org