ServerClientFilterFunc


Description:

[ CCode ( cname = "GstRTSPServerClientFilterFunc" , instance_pos = 2.9 ) ]
public delegate FilterResult ServerClientFilterFunc (Server server, Client client)

This function will be called by the client_filter .

An implementation should return a value of FilterResult .

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

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

A value of REF will add client to the result List of client_filter.

Parameters:

server

a Server object

client

a Client in server

user_data

user data that has been given to client_filter

Returns:

a FilterResult.


Namespace: Gst.RTSPServer