ClientSessionFilterFunc


Description:

[ CCode ( cname = "GstRTSPClientSessionFilterFunc" , instance_pos = 2.9 ) ]
public delegate FilterResult ClientSessionFilterFunc (Client client, Session sess)

This function will be called by the session_filter.

An implementation should return a value of FilterResult .

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

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

A value of REF will add sess to the result List of session_filter.

Parameters:

client

a Client object

sess

a Session in client

user_data

user data that has been given to session_filter

Returns:

a FilterResult.


Namespace: Gst.RTSPServer