[NoWrapper]
public virtual string create_session_id ();
public GLib.TimeoutSource create_watch ();
+ public GLib.List<Gst.RTSPSession> filter (Gst.RTSPSessionFilterFunc func);
public Gst.RTSPSession? find (string sessionid);
public uint get_max_sessions ();
public uint get_n_sessions ();
public void set_keepalive (Gst.RTSPKeepAliveFunc keep_alive, GLib.DestroyNotify notify);
public Gst.RTSPTransport set_transport (Gst.RTSPTransport ct);
}
+ [CCode (cprefix = "GST_RTSP_FILTER_", has_type_id = "0", cheader_filename = "gst/gst.h")]
+ public enum RTSPFilterResult {
+ REMOVE,
+ KEEP,
+ REF
+ }
[CCode (cheader_filename = "gst/rtsp-server/rtsp-media.h")]
public delegate void RTSPKeepAliveFunc ();
[CCode (cheader_filename = "gst/rtsp-server/rtsp-media.h")]
public delegate bool RTSPSendFunc (Gst.Buffer buffer, uchar channel);
[CCode (cheader_filename = "gst/rtsp-server/rtsp-session-pool.h")]
+ public delegate Gst.RTSPFilterResult RTSPSessionFilterFunc (Gst.RTSPSessionPool pool, Gst.RTSPSession session);
+ [CCode (cheader_filename = "gst/rtsp-server/rtsp-session-pool.h")]
public delegate bool RTSPSessionPoolFunc (Gst.RTSPSessionPool pool);
[CCode (cheader_filename = "gst/gst.h")]
public static Gst.RTSPResult rtsp_params_get (Gst.RTSPClient client, Gst.RTSPUrl uri, Gst.RTSPSession session, Gst.RTSPMessage request, Gst.RTSPMessage response);
<parameter name="user_data" type="gpointer"/>
</parameters>
</callback>
+ <callback name="GstRTSPSessionFilterFunc">
+ <return-type type="GstRTSPFilterResult"/>
+ <parameters>
+ <parameter name="pool" type="GstRTSPSessionPool*"/>
+ <parameter name="session" type="GstRTSPSession*"/>
+ <parameter name="user_data" type="gpointer"/>
+ </parameters>
+ </callback>
<callback name="GstRTSPSessionPoolFunc">
<return-type type="gboolean"/>
<parameters>
<field name="trans" type="GstRTSPMediaTrans"/>
<field name="media_stream" type="GstRTSPMediaStream*"/>
</struct>
+ <enum name="GstRTSPFilterResult">
+ <member name="GST_RTSP_FILTER_REMOVE" value="0"/>
+ <member name="GST_RTSP_FILTER_KEEP" value="1"/>
+ <member name="GST_RTSP_FILTER_REF" value="2"/>
+ </enum>
<object name="GstRTSPClient" parent="GObject" type-name="GstRTSPClient" get-type="gst_rtsp_client_get_type">
<method name="accept" symbol="gst_rtsp_client_accept">
<return-type type="gboolean"/>
<parameter name="pool" type="GstRTSPSessionPool*"/>
</parameters>
</method>
+ <method name="filter" symbol="gst_rtsp_session_pool_filter">
+ <return-type type="GList*"/>
+ <parameters>
+ <parameter name="pool" type="GstRTSPSessionPool*"/>
+ <parameter name="func" type="GstRTSPSessionFilterFunc"/>
+ <parameter name="user_data" type="gpointer"/>
+ </parameters>
+ </method>
<method name="find" symbol="gst_rtsp_session_pool_find">
<return-type type="GstRTSPSession*"/>
<parameters>
GstRTSPSessionMedia cheader_filename="gst/rtsp-server/rtsp-session.h"
GstRTSPSessionPool cheader_filename="gst/rtsp-server/rtsp-session-pool.h"
GstRTSPSessionStream cheader_filename="gst/rtsp-server/rtsp-session.h"
+GstRTSPSessionFilterFunc cheader_filename="gst/rtsp-server/rtsp-session-pool.h"
gst_rtsp_client_get_media_mapping transfer_ownership="1"
gst_rtsp_client_get_session_pool transfer_ownership="1"
gst_rtsp_media_factory_get_launch transfer_ownership="1"
gst_rtsp_session_pool_create_session_id transfer_ownership="1"
gst_rtsp_session_pool_create_watch transfer_ownership="1"
gst_rtsp_session_pool_find transfer_ownership="1" nullable="1"
+gst_rtsp_session_pool_filter transfer_ownership="1" type_arguments="RTSPSession"
gst_rtsp_session_stream_set_transport transfer_ownership="1"
GstRTSPKeepAliveFunc cheader_filename="gst/rtsp-server/rtsp-media.h"
GstRTSPSendFunc cheader_filename="gst/rtsp-server/rtsp-media.h"