SessionPoolFilterFunc
Description:
[ CCode ( cname = "GstRTSPSessionPoolFilterFunc" , instance_pos = 2.9 ) ]
public delegate FilterResult SessionPoolFilterFunc (SessionPool pool, Session session)
public delegate FilterResult SessionPoolFilterFunc (SessionPool pool, Session session)
This function will be called by the filter.
An implementation should return a value of FilterResult .
When this function returns REMOVE,
session
will be removed from pool
.
A return value of KEEP will leave
session
untouched in pool
.
A value of GST_RTSP_FILTER_REF will add session
to the result List of
filter.
Parameters:
pool |
a SessionPool object |
session |
a Session in |
user_data |
user data that has been given to filter |
Returns:
a FilterResult. |
Namespace: Gst.RTSPServer
Package: gstreamer-rtsp-server-1.0