[ CCode ( cname = "GstRTSPSessionPoolFilterFunc" , instance_pos = 2.9 ) ]
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.
pool |
a SessionPool object |
session |
a Session in |
user_data |
user data that has been given to filter |
a FilterResult. |