2008-11-30 22:41:20 +00:00
|
|
|
<?xml version="1.0"?>
|
|
|
|
<api version="1.0">
|
|
|
|
<namespace name="Gst">
|
2009-06-12 17:28:04 +00:00
|
|
|
<function name="rtsp_params_get" symbol="gst_rtsp_params_get">
|
|
|
|
<return-type type="GstRTSPResult"/>
|
|
|
|
<parameters>
|
|
|
|
<parameter name="client" type="GstRTSPClient*"/>
|
|
|
|
<parameter name="uri" type="GstRTSPUrl*"/>
|
|
|
|
<parameter name="session" type="GstRTSPSession*"/>
|
|
|
|
<parameter name="request" type="GstRTSPMessage*"/>
|
|
|
|
<parameter name="response" type="GstRTSPMessage*"/>
|
|
|
|
</parameters>
|
|
|
|
</function>
|
|
|
|
<function name="rtsp_params_set" symbol="gst_rtsp_params_set">
|
|
|
|
<return-type type="GstRTSPResult"/>
|
|
|
|
<parameters>
|
|
|
|
<parameter name="client" type="GstRTSPClient*"/>
|
|
|
|
<parameter name="uri" type="GstRTSPUrl*"/>
|
|
|
|
<parameter name="session" type="GstRTSPSession*"/>
|
|
|
|
<parameter name="request" type="GstRTSPMessage*"/>
|
|
|
|
<parameter name="response" type="GstRTSPMessage*"/>
|
|
|
|
</parameters>
|
|
|
|
</function>
|
2009-04-17 19:13:07 +00:00
|
|
|
<function name="rtsp_sdp_from_media" symbol="gst_rtsp_sdp_from_media">
|
2010-09-22 16:24:12 +00:00
|
|
|
<return-type type="gboolean"/>
|
2009-04-17 19:13:07 +00:00
|
|
|
<parameters>
|
2010-09-22 16:24:12 +00:00
|
|
|
<parameter name="sdp" type="GstSDPMessage*"/>
|
|
|
|
<parameter name="info" type="GstSDPInfo*"/>
|
2009-04-17 19:13:07 +00:00
|
|
|
<parameter name="media" type="GstRTSPMedia*"/>
|
|
|
|
</parameters>
|
|
|
|
</function>
|
2009-06-12 17:28:04 +00:00
|
|
|
<callback name="GstRTSPKeepAliveFunc">
|
|
|
|
<return-type type="void"/>
|
|
|
|
<parameters>
|
|
|
|
<parameter name="user_data" type="gpointer"/>
|
|
|
|
</parameters>
|
|
|
|
</callback>
|
2009-04-17 19:13:07 +00:00
|
|
|
<callback name="GstRTSPSendFunc">
|
|
|
|
<return-type type="gboolean"/>
|
|
|
|
<parameters>
|
|
|
|
<parameter name="buffer" type="GstBuffer*"/>
|
|
|
|
<parameter name="channel" type="guint8"/>
|
|
|
|
<parameter name="user_data" type="gpointer"/>
|
|
|
|
</parameters>
|
|
|
|
</callback>
|
2009-07-13 09:31:23 +00:00
|
|
|
<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>
|
2009-04-17 19:13:07 +00:00
|
|
|
<callback name="GstRTSPSessionPoolFunc">
|
|
|
|
<return-type type="gboolean"/>
|
|
|
|
<parameters>
|
|
|
|
<parameter name="pool" type="GstRTSPSessionPool*"/>
|
|
|
|
<parameter name="user_data" type="gpointer"/>
|
|
|
|
</parameters>
|
|
|
|
</callback>
|
2008-11-30 22:41:20 +00:00
|
|
|
<struct name="GstRTSPMediaStream">
|
2009-04-17 19:13:07 +00:00
|
|
|
<method name="rtcp" symbol="gst_rtsp_media_stream_rtcp">
|
|
|
|
<return-type type="GstFlowReturn"/>
|
|
|
|
<parameters>
|
|
|
|
<parameter name="stream" type="GstRTSPMediaStream*"/>
|
|
|
|
<parameter name="buffer" type="GstBuffer*"/>
|
|
|
|
</parameters>
|
|
|
|
</method>
|
|
|
|
<method name="rtp" symbol="gst_rtsp_media_stream_rtp">
|
|
|
|
<return-type type="GstFlowReturn"/>
|
|
|
|
<parameters>
|
|
|
|
<parameter name="stream" type="GstRTSPMediaStream*"/>
|
|
|
|
<parameter name="buffer" type="GstBuffer*"/>
|
|
|
|
</parameters>
|
|
|
|
</method>
|
2008-11-30 22:41:20 +00:00
|
|
|
<field name="srcpad" type="GstPad*"/>
|
|
|
|
<field name="payloader" type="GstElement*"/>
|
2009-04-17 19:13:07 +00:00
|
|
|
<field name="prepared" type="gboolean"/>
|
|
|
|
<field name="recv_rtcp_sink" type="GstPad*"/>
|
2009-06-12 17:28:04 +00:00
|
|
|
<field name="recv_rtp_sink" type="GstPad*"/>
|
2009-04-17 19:13:07 +00:00
|
|
|
<field name="send_rtp_sink" type="GstPad*"/>
|
|
|
|
<field name="send_rtp_src" type="GstPad*"/>
|
|
|
|
<field name="send_rtcp_src" type="GstPad*"/>
|
|
|
|
<field name="session" type="GObject*"/>
|
|
|
|
<field name="udpsrc" type="GstElement*[]"/>
|
|
|
|
<field name="udpsink" type="GstElement*[]"/>
|
|
|
|
<field name="appsrc" type="GstElement*[]"/>
|
|
|
|
<field name="appsink" type="GstElement*[]"/>
|
2009-06-12 17:28:04 +00:00
|
|
|
<field name="tee" type="GstElement*[]"/>
|
|
|
|
<field name="selector" type="GstElement*[]"/>
|
2009-04-17 19:13:07 +00:00
|
|
|
<field name="server_port" type="GstRTSPRange"/>
|
2008-11-30 22:41:20 +00:00
|
|
|
<field name="caps_sig" type="gulong"/>
|
|
|
|
<field name="caps" type="GstCaps*"/>
|
2009-04-17 19:13:07 +00:00
|
|
|
<field name="transports" type="GList*"/>
|
2010-09-22 16:24:12 +00:00
|
|
|
<field name="filter_duplicates" type="gboolean"/>
|
|
|
|
<field name="destinations" type="GList*"/>
|
2009-04-17 19:13:07 +00:00
|
|
|
</struct>
|
|
|
|
<struct name="GstRTSPMediaTrans">
|
2010-09-22 16:24:12 +00:00
|
|
|
<method name="cleanup" symbol="gst_rtsp_media_trans_cleanup">
|
|
|
|
<return-type type="void"/>
|
|
|
|
<parameters>
|
|
|
|
<parameter name="trans" type="GstRTSPMediaTrans*"/>
|
|
|
|
</parameters>
|
|
|
|
</method>
|
2009-04-17 19:13:07 +00:00
|
|
|
<field name="idx" type="guint"/>
|
|
|
|
<field name="send_rtp" type="GstRTSPSendFunc"/>
|
|
|
|
<field name="send_rtcp" type="GstRTSPSendFunc"/>
|
|
|
|
<field name="user_data" type="gpointer"/>
|
|
|
|
<field name="notify" type="GDestroyNotify"/>
|
2009-06-12 17:28:04 +00:00
|
|
|
<field name="keep_alive" type="GstRTSPKeepAliveFunc"/>
|
|
|
|
<field name="ka_user_data" type="gpointer"/>
|
|
|
|
<field name="ka_notify" type="GDestroyNotify"/>
|
|
|
|
<field name="active" type="gboolean"/>
|
|
|
|
<field name="timeout" type="gboolean"/>
|
2009-04-17 19:13:07 +00:00
|
|
|
<field name="transport" type="GstRTSPTransport*"/>
|
2009-06-12 17:28:04 +00:00
|
|
|
<field name="rtpsource" type="GObject*"/>
|
2008-11-30 22:41:20 +00:00
|
|
|
</struct>
|
|
|
|
<struct name="GstRTSPSessionMedia">
|
2010-09-22 16:24:12 +00:00
|
|
|
<method name="alloc_channels" symbol="gst_rtsp_session_media_alloc_channels">
|
|
|
|
<return-type type="gboolean"/>
|
|
|
|
<parameters>
|
|
|
|
<parameter name="media" type="GstRTSPSessionMedia*"/>
|
|
|
|
<parameter name="range" type="GstRTSPRange*"/>
|
|
|
|
</parameters>
|
|
|
|
</method>
|
2009-01-23 19:31:11 +00:00
|
|
|
<method name="get_stream" symbol="gst_rtsp_session_media_get_stream">
|
|
|
|
<return-type type="GstRTSPSessionStream*"/>
|
|
|
|
<parameters>
|
|
|
|
<parameter name="media" type="GstRTSPSessionMedia*"/>
|
|
|
|
<parameter name="idx" type="guint"/>
|
|
|
|
</parameters>
|
|
|
|
</method>
|
2009-04-17 19:13:07 +00:00
|
|
|
<method name="set_state" symbol="gst_rtsp_session_media_set_state">
|
|
|
|
<return-type type="gboolean"/>
|
2008-11-30 22:41:20 +00:00
|
|
|
<parameters>
|
|
|
|
<parameter name="media" type="GstRTSPSessionMedia*"/>
|
2009-04-17 19:13:07 +00:00
|
|
|
<parameter name="state" type="GstState"/>
|
2008-11-30 22:41:20 +00:00
|
|
|
</parameters>
|
|
|
|
</method>
|
2009-04-17 19:13:07 +00:00
|
|
|
<field name="url" type="GstRTSPUrl*"/>
|
2009-01-23 19:31:11 +00:00
|
|
|
<field name="media" type="GstRTSPMedia*"/>
|
2009-04-17 19:13:07 +00:00
|
|
|
<field name="state" type="GstRTSPState"/>
|
2010-09-22 16:24:12 +00:00
|
|
|
<field name="counter" type="guint"/>
|
2009-04-17 19:13:07 +00:00
|
|
|
<field name="streams" type="GArray*"/>
|
2008-11-30 22:41:20 +00:00
|
|
|
</struct>
|
|
|
|
<struct name="GstRTSPSessionStream">
|
2009-04-17 19:13:07 +00:00
|
|
|
<method name="set_callbacks" symbol="gst_rtsp_session_stream_set_callbacks">
|
|
|
|
<return-type type="void"/>
|
|
|
|
<parameters>
|
|
|
|
<parameter name="stream" type="GstRTSPSessionStream*"/>
|
|
|
|
<parameter name="send_rtp" type="GstRTSPSendFunc"/>
|
|
|
|
<parameter name="send_rtcp" type="GstRTSPSendFunc"/>
|
|
|
|
<parameter name="user_data" type="gpointer"/>
|
|
|
|
<parameter name="notify" type="GDestroyNotify"/>
|
|
|
|
</parameters>
|
|
|
|
</method>
|
2009-06-12 17:28:04 +00:00
|
|
|
<method name="set_keepalive" symbol="gst_rtsp_session_stream_set_keepalive">
|
|
|
|
<return-type type="void"/>
|
|
|
|
<parameters>
|
|
|
|
<parameter name="stream" type="GstRTSPSessionStream*"/>
|
|
|
|
<parameter name="keep_alive" type="GstRTSPKeepAliveFunc"/>
|
|
|
|
<parameter name="user_data" type="gpointer"/>
|
|
|
|
<parameter name="notify" type="GDestroyNotify"/>
|
|
|
|
</parameters>
|
|
|
|
</method>
|
2008-11-30 22:41:20 +00:00
|
|
|
<method name="set_transport" symbol="gst_rtsp_session_stream_set_transport">
|
|
|
|
<return-type type="GstRTSPTransport*"/>
|
|
|
|
<parameters>
|
|
|
|
<parameter name="stream" type="GstRTSPSessionStream*"/>
|
|
|
|
<parameter name="ct" type="GstRTSPTransport*"/>
|
|
|
|
</parameters>
|
|
|
|
</method>
|
2009-04-17 19:13:07 +00:00
|
|
|
<field name="trans" type="GstRTSPMediaTrans"/>
|
2008-11-30 22:41:20 +00:00
|
|
|
<field name="media_stream" type="GstRTSPMediaStream*"/>
|
|
|
|
</struct>
|
2010-09-22 16:24:12 +00:00
|
|
|
<struct name="GstSDPInfo">
|
|
|
|
<field name="server_proto" type="gchar*"/>
|
|
|
|
<field name="server_ip" type="gchar*"/>
|
|
|
|
</struct>
|
2009-07-13 09:31:23 +00:00
|
|
|
<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>
|
2010-09-22 16:24:12 +00:00
|
|
|
<enum name="GstRTSPMediaStatus">
|
|
|
|
<member name="GST_RTSP_MEDIA_STATUS_UNPREPARED" value="0"/>
|
|
|
|
<member name="GST_RTSP_MEDIA_STATUS_PREPARING" value="1"/>
|
|
|
|
<member name="GST_RTSP_MEDIA_STATUS_PREPARED" value="2"/>
|
|
|
|
<member name="GST_RTSP_MEDIA_STATUS_ERROR" value="3"/>
|
|
|
|
</enum>
|
2008-11-30 22:41:20 +00:00
|
|
|
<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"/>
|
|
|
|
<parameters>
|
|
|
|
<parameter name="client" type="GstRTSPClient*"/>
|
2009-01-23 19:31:11 +00:00
|
|
|
<parameter name="channel" type="GIOChannel*"/>
|
|
|
|
</parameters>
|
|
|
|
</method>
|
|
|
|
<method name="get_media_mapping" symbol="gst_rtsp_client_get_media_mapping">
|
|
|
|
<return-type type="GstRTSPMediaMapping*"/>
|
|
|
|
<parameters>
|
|
|
|
<parameter name="client" type="GstRTSPClient*"/>
|
2008-11-30 22:41:20 +00:00
|
|
|
</parameters>
|
|
|
|
</method>
|
|
|
|
<method name="get_session_pool" symbol="gst_rtsp_client_get_session_pool">
|
|
|
|
<return-type type="GstRTSPSessionPool*"/>
|
|
|
|
<parameters>
|
|
|
|
<parameter name="client" type="GstRTSPClient*"/>
|
|
|
|
</parameters>
|
|
|
|
</method>
|
|
|
|
<constructor name="new" symbol="gst_rtsp_client_new">
|
|
|
|
<return-type type="GstRTSPClient*"/>
|
2009-01-23 19:31:11 +00:00
|
|
|
</constructor>
|
|
|
|
<method name="set_media_mapping" symbol="gst_rtsp_client_set_media_mapping">
|
|
|
|
<return-type type="void"/>
|
2008-11-30 22:41:20 +00:00
|
|
|
<parameters>
|
2009-01-23 19:31:11 +00:00
|
|
|
<parameter name="client" type="GstRTSPClient*"/>
|
|
|
|
<parameter name="mapping" type="GstRTSPMediaMapping*"/>
|
2008-11-30 22:41:20 +00:00
|
|
|
</parameters>
|
2009-01-23 19:31:11 +00:00
|
|
|
</method>
|
2008-11-30 22:41:20 +00:00
|
|
|
<method name="set_session_pool" symbol="gst_rtsp_client_set_session_pool">
|
|
|
|
<return-type type="void"/>
|
|
|
|
<parameters>
|
|
|
|
<parameter name="client" type="GstRTSPClient*"/>
|
|
|
|
<parameter name="pool" type="GstRTSPSessionPool*"/>
|
|
|
|
</parameters>
|
|
|
|
</method>
|
2009-04-17 19:13:07 +00:00
|
|
|
<property name="media-mapping" type="GstRTSPMediaMapping*" readable="1" writable="1" construct="0" construct-only="0"/>
|
|
|
|
<property name="session-pool" type="GstRTSPSessionPool*" readable="1" writable="1" construct="0" construct-only="0"/>
|
2008-11-30 22:41:20 +00:00
|
|
|
<field name="connection" type="GstRTSPConnection*"/>
|
2009-04-17 19:13:07 +00:00
|
|
|
<field name="watch" type="GstRTSPWatch*"/>
|
|
|
|
<field name="watchid" type="guint"/>
|
2010-09-22 16:24:12 +00:00
|
|
|
<field name="server_ip" type="gchar*"/>
|
|
|
|
<field name="is_ipv6" type="gboolean"/>
|
2009-04-17 19:13:07 +00:00
|
|
|
<field name="session_pool" type="GstRTSPSessionPool*"/>
|
|
|
|
<field name="media_mapping" type="GstRTSPMediaMapping*"/>
|
|
|
|
<field name="uri" type="GstRTSPUrl*"/>
|
|
|
|
<field name="media" type="GstRTSPMedia*"/>
|
|
|
|
<field name="streams" type="GList*"/>
|
|
|
|
<field name="sessions" type="GList*"/>
|
2008-11-30 22:41:20 +00:00
|
|
|
</object>
|
|
|
|
<object name="GstRTSPMedia" parent="GObject" type-name="GstRTSPMedia" get-type="gst_rtsp_media_get_type">
|
2010-09-22 16:24:12 +00:00
|
|
|
<method name="get_protocols" symbol="gst_rtsp_media_get_protocols">
|
|
|
|
<return-type type="GstRTSPLowerTrans"/>
|
|
|
|
<parameters>
|
|
|
|
<parameter name="media" type="GstRTSPMedia*"/>
|
|
|
|
</parameters>
|
|
|
|
</method>
|
2008-11-30 22:41:20 +00:00
|
|
|
<method name="get_stream" symbol="gst_rtsp_media_get_stream">
|
|
|
|
<return-type type="GstRTSPMediaStream*"/>
|
|
|
|
<parameters>
|
|
|
|
<parameter name="media" type="GstRTSPMedia*"/>
|
|
|
|
<parameter name="idx" type="guint"/>
|
|
|
|
</parameters>
|
|
|
|
</method>
|
2010-09-22 16:24:12 +00:00
|
|
|
<method name="is_eos_shutdown" symbol="gst_rtsp_media_is_eos_shutdown">
|
|
|
|
<return-type type="gboolean"/>
|
|
|
|
<parameters>
|
|
|
|
<parameter name="media" type="GstRTSPMedia*"/>
|
|
|
|
</parameters>
|
|
|
|
</method>
|
2009-04-17 19:13:07 +00:00
|
|
|
<method name="is_prepared" symbol="gst_rtsp_media_is_prepared">
|
|
|
|
<return-type type="gboolean"/>
|
|
|
|
<parameters>
|
|
|
|
<parameter name="media" type="GstRTSPMedia*"/>
|
|
|
|
</parameters>
|
|
|
|
</method>
|
|
|
|
<method name="is_reusable" symbol="gst_rtsp_media_is_reusable">
|
|
|
|
<return-type type="gboolean"/>
|
|
|
|
<parameters>
|
|
|
|
<parameter name="media" type="GstRTSPMedia*"/>
|
|
|
|
</parameters>
|
|
|
|
</method>
|
|
|
|
<method name="is_shared" symbol="gst_rtsp_media_is_shared">
|
|
|
|
<return-type type="gboolean"/>
|
|
|
|
<parameters>
|
|
|
|
<parameter name="media" type="GstRTSPMedia*"/>
|
|
|
|
</parameters>
|
|
|
|
</method>
|
2008-11-30 22:41:20 +00:00
|
|
|
<method name="n_streams" symbol="gst_rtsp_media_n_streams">
|
|
|
|
<return-type type="guint"/>
|
|
|
|
<parameters>
|
|
|
|
<parameter name="media" type="GstRTSPMedia*"/>
|
|
|
|
</parameters>
|
|
|
|
</method>
|
2009-04-17 19:13:07 +00:00
|
|
|
<constructor name="new" symbol="gst_rtsp_media_new">
|
|
|
|
<return-type type="GstRTSPMedia*"/>
|
|
|
|
</constructor>
|
|
|
|
<method name="prepare" symbol="gst_rtsp_media_prepare">
|
|
|
|
<return-type type="gboolean"/>
|
|
|
|
<parameters>
|
|
|
|
<parameter name="media" type="GstRTSPMedia*"/>
|
|
|
|
</parameters>
|
|
|
|
</method>
|
2009-06-13 12:38:39 +00:00
|
|
|
<method name="remove_elements" symbol="gst_rtsp_media_remove_elements">
|
|
|
|
<return-type type="void"/>
|
|
|
|
<parameters>
|
|
|
|
<parameter name="media" type="GstRTSPMedia*"/>
|
|
|
|
</parameters>
|
|
|
|
</method>
|
2009-04-17 19:13:07 +00:00
|
|
|
<method name="seek" symbol="gst_rtsp_media_seek">
|
|
|
|
<return-type type="gboolean"/>
|
|
|
|
<parameters>
|
|
|
|
<parameter name="media" type="GstRTSPMedia*"/>
|
|
|
|
<parameter name="range" type="GstRTSPTimeRange*"/>
|
|
|
|
</parameters>
|
|
|
|
</method>
|
2010-09-22 16:24:12 +00:00
|
|
|
<method name="set_eos_shutdown" symbol="gst_rtsp_media_set_eos_shutdown">
|
|
|
|
<return-type type="void"/>
|
|
|
|
<parameters>
|
|
|
|
<parameter name="media" type="GstRTSPMedia*"/>
|
|
|
|
<parameter name="eos_shutdown" type="gboolean"/>
|
|
|
|
</parameters>
|
|
|
|
</method>
|
|
|
|
<method name="set_protocols" symbol="gst_rtsp_media_set_protocols">
|
|
|
|
<return-type type="void"/>
|
|
|
|
<parameters>
|
|
|
|
<parameter name="media" type="GstRTSPMedia*"/>
|
|
|
|
<parameter name="protocols" type="GstRTSPLowerTrans"/>
|
|
|
|
</parameters>
|
|
|
|
</method>
|
2009-04-17 19:13:07 +00:00
|
|
|
<method name="set_reusable" symbol="gst_rtsp_media_set_reusable">
|
|
|
|
<return-type type="void"/>
|
|
|
|
<parameters>
|
|
|
|
<parameter name="media" type="GstRTSPMedia*"/>
|
|
|
|
<parameter name="reusable" type="gboolean"/>
|
|
|
|
</parameters>
|
|
|
|
</method>
|
|
|
|
<method name="set_shared" symbol="gst_rtsp_media_set_shared">
|
|
|
|
<return-type type="void"/>
|
|
|
|
<parameters>
|
|
|
|
<parameter name="media" type="GstRTSPMedia*"/>
|
|
|
|
<parameter name="shared" type="gboolean"/>
|
|
|
|
</parameters>
|
|
|
|
</method>
|
|
|
|
<method name="set_state" symbol="gst_rtsp_media_set_state">
|
|
|
|
<return-type type="gboolean"/>
|
|
|
|
<parameters>
|
|
|
|
<parameter name="media" type="GstRTSPMedia*"/>
|
|
|
|
<parameter name="state" type="GstState"/>
|
|
|
|
<parameter name="trans" type="GArray*"/>
|
|
|
|
</parameters>
|
|
|
|
</method>
|
|
|
|
<method name="unprepare" symbol="gst_rtsp_media_unprepare">
|
|
|
|
<return-type type="gboolean"/>
|
|
|
|
<parameters>
|
|
|
|
<parameter name="media" type="GstRTSPMedia*"/>
|
|
|
|
</parameters>
|
|
|
|
</method>
|
2010-09-22 16:24:12 +00:00
|
|
|
<property name="eos-shutdown" type="gboolean" readable="1" writable="1" construct="0" construct-only="0"/>
|
|
|
|
<property name="protocols" type="GstRTSPLowerTrans" readable="1" writable="1" construct="0" construct-only="0"/>
|
2009-04-17 19:13:07 +00:00
|
|
|
<property name="reusable" type="gboolean" readable="1" writable="1" construct="0" construct-only="0"/>
|
|
|
|
<property name="shared" type="gboolean" readable="1" writable="1" construct="0" construct-only="0"/>
|
|
|
|
<signal name="unprepared" when="LAST">
|
|
|
|
<return-type type="void"/>
|
|
|
|
<parameters>
|
|
|
|
<parameter name="media" type="GstRTSPMedia*"/>
|
|
|
|
</parameters>
|
|
|
|
</signal>
|
|
|
|
<vfunc name="handle_message">
|
|
|
|
<return-type type="gboolean"/>
|
|
|
|
<parameters>
|
|
|
|
<parameter name="media" type="GstRTSPMedia*"/>
|
|
|
|
<parameter name="message" type="GstMessage*"/>
|
|
|
|
</parameters>
|
|
|
|
</vfunc>
|
2009-06-12 17:28:04 +00:00
|
|
|
<vfunc name="unprepare">
|
|
|
|
<return-type type="gboolean"/>
|
|
|
|
<parameters>
|
|
|
|
<parameter name="media" type="GstRTSPMedia*"/>
|
|
|
|
</parameters>
|
|
|
|
</vfunc>
|
2010-09-22 16:24:12 +00:00
|
|
|
<field name="lock" type="GMutex*"/>
|
|
|
|
<field name="cond" type="GCond*"/>
|
2009-04-17 19:13:07 +00:00
|
|
|
<field name="shared" type="gboolean"/>
|
|
|
|
<field name="reusable" type="gboolean"/>
|
2010-09-22 16:24:12 +00:00
|
|
|
<field name="protocols" type="GstRTSPLowerTrans"/>
|
2009-04-17 19:13:07 +00:00
|
|
|
<field name="reused" type="gboolean"/>
|
2010-09-22 16:24:12 +00:00
|
|
|
<field name="is_ipv6" type="gboolean"/>
|
|
|
|
<field name="eos_shutdown" type="gboolean"/>
|
2009-01-23 19:31:11 +00:00
|
|
|
<field name="element" type="GstElement*"/>
|
|
|
|
<field name="streams" type="GArray*"/>
|
2009-06-12 17:28:04 +00:00
|
|
|
<field name="dynamic" type="GList*"/>
|
2010-09-22 16:24:12 +00:00
|
|
|
<field name="status" type="GstRTSPMediaStatus"/>
|
2009-04-17 19:13:07 +00:00
|
|
|
<field name="active" type="gint"/>
|
2010-09-22 16:24:12 +00:00
|
|
|
<field name="eos_pending" type="gboolean"/>
|
2009-04-17 19:13:07 +00:00
|
|
|
<field name="pipeline" type="GstElement*"/>
|
2009-06-12 17:28:04 +00:00
|
|
|
<field name="fakesink" type="GstElement*"/>
|
2009-04-17 19:13:07 +00:00
|
|
|
<field name="source" type="GSource*"/>
|
|
|
|
<field name="id" type="guint"/>
|
|
|
|
<field name="is_live" type="gboolean"/>
|
|
|
|
<field name="buffering" type="gboolean"/>
|
|
|
|
<field name="target_state" type="GstState"/>
|
|
|
|
<field name="rtpbin" type="GstElement*"/>
|
|
|
|
<field name="range" type="GstRTSPTimeRange"/>
|
2009-01-23 19:31:11 +00:00
|
|
|
</object>
|
|
|
|
<object name="GstRTSPMediaFactory" parent="GObject" type-name="GstRTSPMediaFactory" get-type="gst_rtsp_media_factory_get_type">
|
2009-06-12 17:28:04 +00:00
|
|
|
<method name="collect_streams" symbol="gst_rtsp_media_factory_collect_streams">
|
|
|
|
<return-type type="void"/>
|
|
|
|
<parameters>
|
|
|
|
<parameter name="factory" type="GstRTSPMediaFactory*"/>
|
|
|
|
<parameter name="url" type="GstRTSPUrl*"/>
|
|
|
|
<parameter name="media" type="GstRTSPMedia*"/>
|
|
|
|
</parameters>
|
|
|
|
</method>
|
2009-01-23 19:31:11 +00:00
|
|
|
<method name="construct" symbol="gst_rtsp_media_factory_construct">
|
2008-11-30 22:41:20 +00:00
|
|
|
<return-type type="GstRTSPMedia*"/>
|
|
|
|
<parameters>
|
2009-01-23 19:31:11 +00:00
|
|
|
<parameter name="factory" type="GstRTSPMediaFactory*"/>
|
|
|
|
<parameter name="url" type="GstRTSPUrl*"/>
|
2008-11-30 22:41:20 +00:00
|
|
|
</parameters>
|
2009-01-23 19:31:11 +00:00
|
|
|
</method>
|
|
|
|
<method name="get_launch" symbol="gst_rtsp_media_factory_get_launch">
|
|
|
|
<return-type type="gchar*"/>
|
|
|
|
<parameters>
|
|
|
|
<parameter name="factory" type="GstRTSPMediaFactory*"/>
|
|
|
|
</parameters>
|
|
|
|
</method>
|
2010-09-22 16:24:12 +00:00
|
|
|
<method name="is_eos_shutdown" symbol="gst_rtsp_media_factory_is_eos_shutdown">
|
|
|
|
<return-type type="gboolean"/>
|
|
|
|
<parameters>
|
|
|
|
<parameter name="factory" type="GstRTSPMediaFactory*"/>
|
|
|
|
</parameters>
|
|
|
|
</method>
|
2009-01-23 19:31:11 +00:00
|
|
|
<method name="is_shared" symbol="gst_rtsp_media_factory_is_shared">
|
|
|
|
<return-type type="gboolean"/>
|
|
|
|
<parameters>
|
|
|
|
<parameter name="factory" type="GstRTSPMediaFactory*"/>
|
|
|
|
</parameters>
|
|
|
|
</method>
|
|
|
|
<constructor name="new" symbol="gst_rtsp_media_factory_new">
|
|
|
|
<return-type type="GstRTSPMediaFactory*"/>
|
2008-11-30 22:41:20 +00:00
|
|
|
</constructor>
|
2010-09-22 16:24:12 +00:00
|
|
|
<method name="set_eos_shutdown" symbol="gst_rtsp_media_factory_set_eos_shutdown">
|
|
|
|
<return-type type="void"/>
|
|
|
|
<parameters>
|
|
|
|
<parameter name="factory" type="GstRTSPMediaFactory*"/>
|
|
|
|
<parameter name="eos_shutdown" type="gboolean"/>
|
|
|
|
</parameters>
|
|
|
|
</method>
|
2009-01-23 19:31:11 +00:00
|
|
|
<method name="set_launch" symbol="gst_rtsp_media_factory_set_launch">
|
|
|
|
<return-type type="void"/>
|
|
|
|
<parameters>
|
|
|
|
<parameter name="factory" type="GstRTSPMediaFactory*"/>
|
|
|
|
<parameter name="launch" type="gchar*"/>
|
|
|
|
</parameters>
|
|
|
|
</method>
|
|
|
|
<method name="set_shared" symbol="gst_rtsp_media_factory_set_shared">
|
|
|
|
<return-type type="void"/>
|
|
|
|
<parameters>
|
|
|
|
<parameter name="factory" type="GstRTSPMediaFactory*"/>
|
|
|
|
<parameter name="shared" type="gboolean"/>
|
|
|
|
</parameters>
|
|
|
|
</method>
|
2010-09-22 16:24:12 +00:00
|
|
|
<property name="eos-shutdown" type="gboolean" readable="1" writable="1" construct="0" construct-only="0"/>
|
2009-01-23 19:31:11 +00:00
|
|
|
<property name="launch" type="char*" readable="1" writable="1" construct="0" construct-only="0"/>
|
2009-04-17 19:13:07 +00:00
|
|
|
<property name="shared" type="gboolean" readable="1" writable="1" construct="0" construct-only="0"/>
|
|
|
|
<vfunc name="configure">
|
|
|
|
<return-type type="void"/>
|
|
|
|
<parameters>
|
|
|
|
<parameter name="factory" type="GstRTSPMediaFactory*"/>
|
|
|
|
<parameter name="media" type="GstRTSPMedia*"/>
|
|
|
|
</parameters>
|
|
|
|
</vfunc>
|
2009-01-23 19:31:11 +00:00
|
|
|
<vfunc name="construct">
|
|
|
|
<return-type type="GstRTSPMedia*"/>
|
|
|
|
<parameters>
|
|
|
|
<parameter name="factory" type="GstRTSPMediaFactory*"/>
|
|
|
|
<parameter name="url" type="GstRTSPUrl*"/>
|
|
|
|
</parameters>
|
|
|
|
</vfunc>
|
2009-06-12 17:28:04 +00:00
|
|
|
<vfunc name="create_pipeline">
|
|
|
|
<return-type type="GstElement*"/>
|
|
|
|
<parameters>
|
|
|
|
<parameter name="factory" type="GstRTSPMediaFactory*"/>
|
|
|
|
<parameter name="media" type="GstRTSPMedia*"/>
|
|
|
|
</parameters>
|
|
|
|
</vfunc>
|
2009-04-17 19:13:07 +00:00
|
|
|
<vfunc name="gen_key">
|
|
|
|
<return-type type="gchar*"/>
|
|
|
|
<parameters>
|
|
|
|
<parameter name="factory" type="GstRTSPMediaFactory*"/>
|
|
|
|
<parameter name="url" type="GstRTSPUrl*"/>
|
|
|
|
</parameters>
|
|
|
|
</vfunc>
|
2009-01-23 19:31:11 +00:00
|
|
|
<vfunc name="get_element">
|
|
|
|
<return-type type="GstElement*"/>
|
|
|
|
<parameters>
|
|
|
|
<parameter name="factory" type="GstRTSPMediaFactory*"/>
|
|
|
|
<parameter name="url" type="GstRTSPUrl*"/>
|
|
|
|
</parameters>
|
|
|
|
</vfunc>
|
2009-04-17 19:13:07 +00:00
|
|
|
<field name="lock" type="GMutex*"/>
|
2009-01-23 19:31:11 +00:00
|
|
|
<field name="launch" type="gchar*"/>
|
2009-04-17 19:13:07 +00:00
|
|
|
<field name="shared" type="gboolean"/>
|
2010-09-22 16:24:12 +00:00
|
|
|
<field name="eos_shutdown" type="gboolean"/>
|
2009-04-17 19:13:07 +00:00
|
|
|
<field name="medias_lock" type="GMutex*"/>
|
|
|
|
<field name="medias" type="GHashTable*"/>
|
2008-11-30 22:41:20 +00:00
|
|
|
</object>
|
2009-01-23 19:31:11 +00:00
|
|
|
<object name="GstRTSPMediaMapping" parent="GObject" type-name="GstRTSPMediaMapping" get-type="gst_rtsp_media_mapping_get_type">
|
|
|
|
<method name="add_factory" symbol="gst_rtsp_media_mapping_add_factory">
|
|
|
|
<return-type type="void"/>
|
|
|
|
<parameters>
|
|
|
|
<parameter name="mapping" type="GstRTSPMediaMapping*"/>
|
|
|
|
<parameter name="path" type="gchar*"/>
|
|
|
|
<parameter name="factory" type="GstRTSPMediaFactory*"/>
|
|
|
|
</parameters>
|
|
|
|
</method>
|
|
|
|
<method name="find_factory" symbol="gst_rtsp_media_mapping_find_factory">
|
|
|
|
<return-type type="GstRTSPMediaFactory*"/>
|
|
|
|
<parameters>
|
|
|
|
<parameter name="mapping" type="GstRTSPMediaMapping*"/>
|
|
|
|
<parameter name="url" type="GstRTSPUrl*"/>
|
|
|
|
</parameters>
|
|
|
|
</method>
|
|
|
|
<constructor name="new" symbol="gst_rtsp_media_mapping_new">
|
|
|
|
<return-type type="GstRTSPMediaMapping*"/>
|
|
|
|
</constructor>
|
|
|
|
<method name="remove_factory" symbol="gst_rtsp_media_mapping_remove_factory">
|
|
|
|
<return-type type="void"/>
|
|
|
|
<parameters>
|
|
|
|
<parameter name="mapping" type="GstRTSPMediaMapping*"/>
|
|
|
|
<parameter name="path" type="gchar*"/>
|
|
|
|
</parameters>
|
|
|
|
</method>
|
|
|
|
<vfunc name="find_media">
|
|
|
|
<return-type type="GstRTSPMediaFactory*"/>
|
|
|
|
<parameters>
|
|
|
|
<parameter name="mapping" type="GstRTSPMediaMapping*"/>
|
|
|
|
<parameter name="url" type="GstRTSPUrl*"/>
|
|
|
|
</parameters>
|
|
|
|
</vfunc>
|
|
|
|
<field name="mappings" type="GHashTable*"/>
|
|
|
|
</object>
|
|
|
|
<object name="GstRTSPServer" parent="GObject" type-name="GstRTSPServer" get-type="gst_rtsp_server_get_type">
|
2008-11-30 22:41:20 +00:00
|
|
|
<method name="attach" symbol="gst_rtsp_server_attach">
|
|
|
|
<return-type type="guint"/>
|
|
|
|
<parameters>
|
|
|
|
<parameter name="server" type="GstRTSPServer*"/>
|
|
|
|
<parameter name="context" type="GMainContext*"/>
|
|
|
|
</parameters>
|
|
|
|
</method>
|
2009-01-23 19:31:11 +00:00
|
|
|
<method name="create_watch" symbol="gst_rtsp_server_create_watch">
|
|
|
|
<return-type type="GSource*"/>
|
|
|
|
<parameters>
|
|
|
|
<parameter name="server" type="GstRTSPServer*"/>
|
|
|
|
</parameters>
|
|
|
|
</method>
|
2010-09-22 16:24:12 +00:00
|
|
|
<method name="get_address" symbol="gst_rtsp_server_get_address">
|
|
|
|
<return-type type="gchar*"/>
|
|
|
|
<parameters>
|
|
|
|
<parameter name="server" type="GstRTSPServer*"/>
|
|
|
|
</parameters>
|
|
|
|
</method>
|
2009-01-23 19:31:11 +00:00
|
|
|
<method name="get_backlog" symbol="gst_rtsp_server_get_backlog">
|
|
|
|
<return-type type="gint"/>
|
|
|
|
<parameters>
|
|
|
|
<parameter name="server" type="GstRTSPServer*"/>
|
|
|
|
</parameters>
|
|
|
|
</method>
|
|
|
|
<method name="get_io_channel" symbol="gst_rtsp_server_get_io_channel">
|
|
|
|
<return-type type="GIOChannel*"/>
|
|
|
|
<parameters>
|
|
|
|
<parameter name="server" type="GstRTSPServer*"/>
|
|
|
|
</parameters>
|
|
|
|
</method>
|
|
|
|
<method name="get_media_mapping" symbol="gst_rtsp_server_get_media_mapping">
|
|
|
|
<return-type type="GstRTSPMediaMapping*"/>
|
|
|
|
<parameters>
|
|
|
|
<parameter name="server" type="GstRTSPServer*"/>
|
|
|
|
</parameters>
|
|
|
|
</method>
|
2010-09-22 16:24:12 +00:00
|
|
|
<method name="get_service" symbol="gst_rtsp_server_get_service">
|
|
|
|
<return-type type="gchar*"/>
|
2009-01-23 19:31:11 +00:00
|
|
|
<parameters>
|
|
|
|
<parameter name="server" type="GstRTSPServer*"/>
|
|
|
|
</parameters>
|
|
|
|
</method>
|
|
|
|
<method name="get_session_pool" symbol="gst_rtsp_server_get_session_pool">
|
|
|
|
<return-type type="GstRTSPSessionPool*"/>
|
|
|
|
<parameters>
|
|
|
|
<parameter name="server" type="GstRTSPServer*"/>
|
|
|
|
</parameters>
|
|
|
|
</method>
|
|
|
|
<method name="io_func" symbol="gst_rtsp_server_io_func">
|
2008-11-30 22:41:20 +00:00
|
|
|
<return-type type="gboolean"/>
|
|
|
|
<parameters>
|
2009-01-23 19:31:11 +00:00
|
|
|
<parameter name="channel" type="GIOChannel*"/>
|
|
|
|
<parameter name="condition" type="GIOCondition"/>
|
2008-11-30 22:41:20 +00:00
|
|
|
<parameter name="server" type="GstRTSPServer*"/>
|
|
|
|
</parameters>
|
|
|
|
</method>
|
2009-01-23 19:31:11 +00:00
|
|
|
<constructor name="new" symbol="gst_rtsp_server_new">
|
|
|
|
<return-type type="GstRTSPServer*"/>
|
|
|
|
</constructor>
|
2010-09-22 16:24:12 +00:00
|
|
|
<method name="set_address" symbol="gst_rtsp_server_set_address">
|
|
|
|
<return-type type="void"/>
|
|
|
|
<parameters>
|
|
|
|
<parameter name="server" type="GstRTSPServer*"/>
|
|
|
|
<parameter name="address" type="gchar*"/>
|
|
|
|
</parameters>
|
|
|
|
</method>
|
2009-01-23 19:31:11 +00:00
|
|
|
<method name="set_backlog" symbol="gst_rtsp_server_set_backlog">
|
|
|
|
<return-type type="void"/>
|
2008-11-30 22:41:20 +00:00
|
|
|
<parameters>
|
|
|
|
<parameter name="server" type="GstRTSPServer*"/>
|
2009-01-23 19:31:11 +00:00
|
|
|
<parameter name="backlog" type="gint"/>
|
|
|
|
</parameters>
|
|
|
|
</method>
|
|
|
|
<method name="set_media_mapping" symbol="gst_rtsp_server_set_media_mapping">
|
|
|
|
<return-type type="void"/>
|
|
|
|
<parameters>
|
|
|
|
<parameter name="server" type="GstRTSPServer*"/>
|
|
|
|
<parameter name="mapping" type="GstRTSPMediaMapping*"/>
|
|
|
|
</parameters>
|
|
|
|
</method>
|
2010-09-22 16:24:12 +00:00
|
|
|
<method name="set_service" symbol="gst_rtsp_server_set_service">
|
2009-01-23 19:31:11 +00:00
|
|
|
<return-type type="void"/>
|
|
|
|
<parameters>
|
|
|
|
<parameter name="server" type="GstRTSPServer*"/>
|
2010-09-22 16:24:12 +00:00
|
|
|
<parameter name="service" type="gchar*"/>
|
2009-01-23 19:31:11 +00:00
|
|
|
</parameters>
|
|
|
|
</method>
|
|
|
|
<method name="set_session_pool" symbol="gst_rtsp_server_set_session_pool">
|
|
|
|
<return-type type="void"/>
|
|
|
|
<parameters>
|
|
|
|
<parameter name="server" type="GstRTSPServer*"/>
|
|
|
|
<parameter name="pool" type="GstRTSPSessionPool*"/>
|
|
|
|
</parameters>
|
|
|
|
</method>
|
2010-09-22 16:24:12 +00:00
|
|
|
<property name="address" type="char*" readable="1" writable="1" construct="0" construct-only="0"/>
|
2009-01-23 19:31:11 +00:00
|
|
|
<property name="backlog" type="gint" readable="1" writable="1" construct="0" construct-only="0"/>
|
2009-04-17 19:13:07 +00:00
|
|
|
<property name="media-mapping" type="GstRTSPMediaMapping*" readable="1" writable="1" construct="0" construct-only="0"/>
|
2010-09-22 16:24:12 +00:00
|
|
|
<property name="service" type="char*" readable="1" writable="1" construct="0" construct-only="0"/>
|
2009-04-17 19:13:07 +00:00
|
|
|
<property name="session-pool" type="GstRTSPSessionPool*" readable="1" writable="1" construct="0" construct-only="0"/>
|
2009-01-23 19:31:11 +00:00
|
|
|
<vfunc name="accept_client">
|
|
|
|
<return-type type="GstRTSPClient*"/>
|
|
|
|
<parameters>
|
|
|
|
<parameter name="server" type="GstRTSPServer*"/>
|
|
|
|
<parameter name="channel" type="GIOChannel*"/>
|
2008-11-30 22:41:20 +00:00
|
|
|
</parameters>
|
|
|
|
</vfunc>
|
2010-09-22 16:24:12 +00:00
|
|
|
<field name="address" type="gchar*"/>
|
|
|
|
<field name="service" type="gchar*"/>
|
2009-01-23 19:31:11 +00:00
|
|
|
<field name="backlog" type="gint"/>
|
2008-11-30 22:41:20 +00:00
|
|
|
<field name="server_sin" type="struct sockaddr_in"/>
|
|
|
|
<field name="server_sock" type="GstPollFD"/>
|
|
|
|
<field name="io_channel" type="GIOChannel*"/>
|
|
|
|
<field name="io_watch" type="GSource*"/>
|
2009-04-17 19:13:07 +00:00
|
|
|
<field name="session_pool" type="GstRTSPSessionPool*"/>
|
|
|
|
<field name="media_mapping" type="GstRTSPMediaMapping*"/>
|
2008-11-30 22:41:20 +00:00
|
|
|
</object>
|
|
|
|
<object name="GstRTSPSession" parent="GObject" type-name="GstRTSPSession" get-type="gst_rtsp_session_get_type">
|
2010-09-22 16:24:12 +00:00
|
|
|
<method name="allow_expire" symbol="gst_rtsp_session_allow_expire">
|
|
|
|
<return-type type="void"/>
|
|
|
|
<parameters>
|
|
|
|
<parameter name="session" type="GstRTSPSession*"/>
|
|
|
|
</parameters>
|
|
|
|
</method>
|
2008-11-30 22:41:20 +00:00
|
|
|
<method name="get_media" symbol="gst_rtsp_session_get_media">
|
|
|
|
<return-type type="GstRTSPSessionMedia*"/>
|
|
|
|
<parameters>
|
|
|
|
<parameter name="sess" type="GstRTSPSession*"/>
|
2009-04-17 19:13:07 +00:00
|
|
|
<parameter name="uri" type="GstRTSPUrl*"/>
|
|
|
|
</parameters>
|
|
|
|
</method>
|
|
|
|
<method name="get_sessionid" symbol="gst_rtsp_session_get_sessionid">
|
|
|
|
<return-type type="gchar*"/>
|
|
|
|
<parameters>
|
|
|
|
<parameter name="session" type="GstRTSPSession*"/>
|
|
|
|
</parameters>
|
|
|
|
</method>
|
|
|
|
<method name="get_timeout" symbol="gst_rtsp_session_get_timeout">
|
|
|
|
<return-type type="guint"/>
|
|
|
|
<parameters>
|
|
|
|
<parameter name="session" type="GstRTSPSession*"/>
|
|
|
|
</parameters>
|
|
|
|
</method>
|
|
|
|
<method name="is_expired" symbol="gst_rtsp_session_is_expired">
|
|
|
|
<return-type type="gboolean"/>
|
|
|
|
<parameters>
|
|
|
|
<parameter name="session" type="GstRTSPSession*"/>
|
|
|
|
<parameter name="now" type="GTimeVal*"/>
|
|
|
|
</parameters>
|
|
|
|
</method>
|
|
|
|
<method name="manage_media" symbol="gst_rtsp_session_manage_media">
|
|
|
|
<return-type type="GstRTSPSessionMedia*"/>
|
|
|
|
<parameters>
|
|
|
|
<parameter name="sess" type="GstRTSPSession*"/>
|
|
|
|
<parameter name="uri" type="GstRTSPUrl*"/>
|
|
|
|
<parameter name="media" type="GstRTSPMedia*"/>
|
2008-11-30 22:41:20 +00:00
|
|
|
</parameters>
|
|
|
|
</method>
|
|
|
|
<constructor name="new" symbol="gst_rtsp_session_new">
|
|
|
|
<return-type type="GstRTSPSession*"/>
|
|
|
|
<parameters>
|
|
|
|
<parameter name="sessionid" type="gchar*"/>
|
|
|
|
</parameters>
|
|
|
|
</constructor>
|
2009-04-17 19:13:07 +00:00
|
|
|
<method name="next_timeout" symbol="gst_rtsp_session_next_timeout">
|
|
|
|
<return-type type="gint"/>
|
|
|
|
<parameters>
|
|
|
|
<parameter name="session" type="GstRTSPSession*"/>
|
|
|
|
<parameter name="now" type="GTimeVal*"/>
|
|
|
|
</parameters>
|
|
|
|
</method>
|
2010-09-22 16:24:12 +00:00
|
|
|
<method name="prevent_expire" symbol="gst_rtsp_session_prevent_expire">
|
|
|
|
<return-type type="void"/>
|
|
|
|
<parameters>
|
|
|
|
<parameter name="session" type="GstRTSPSession*"/>
|
|
|
|
</parameters>
|
|
|
|
</method>
|
2009-04-17 19:13:07 +00:00
|
|
|
<method name="release_media" symbol="gst_rtsp_session_release_media">
|
|
|
|
<return-type type="gboolean"/>
|
|
|
|
<parameters>
|
|
|
|
<parameter name="sess" type="GstRTSPSession*"/>
|
|
|
|
<parameter name="media" type="GstRTSPSessionMedia*"/>
|
|
|
|
</parameters>
|
|
|
|
</method>
|
|
|
|
<method name="set_timeout" symbol="gst_rtsp_session_set_timeout">
|
|
|
|
<return-type type="void"/>
|
|
|
|
<parameters>
|
|
|
|
<parameter name="session" type="GstRTSPSession*"/>
|
|
|
|
<parameter name="timeout" type="guint"/>
|
|
|
|
</parameters>
|
|
|
|
</method>
|
|
|
|
<method name="touch" symbol="gst_rtsp_session_touch">
|
|
|
|
<return-type type="void"/>
|
|
|
|
<parameters>
|
|
|
|
<parameter name="session" type="GstRTSPSession*"/>
|
|
|
|
</parameters>
|
|
|
|
</method>
|
|
|
|
<property name="sessionid" type="char*" readable="1" writable="1" construct="0" construct-only="1"/>
|
|
|
|
<property name="timeout" type="guint" readable="1" writable="1" construct="0" construct-only="0"/>
|
2008-11-30 22:41:20 +00:00
|
|
|
<field name="sessionid" type="gchar*"/>
|
2009-04-17 19:13:07 +00:00
|
|
|
<field name="timeout" type="guint"/>
|
|
|
|
<field name="create_time" type="GTimeVal"/>
|
|
|
|
<field name="last_access" type="GTimeVal"/>
|
2010-09-22 16:24:12 +00:00
|
|
|
<field name="expire_count" type="gint"/>
|
2008-11-30 22:41:20 +00:00
|
|
|
<field name="medias" type="GList*"/>
|
|
|
|
</object>
|
|
|
|
<object name="GstRTSPSessionPool" parent="GObject" type-name="GstRTSPSessionPool" get-type="gst_rtsp_session_pool_get_type">
|
2009-04-17 19:13:07 +00:00
|
|
|
<method name="cleanup" symbol="gst_rtsp_session_pool_cleanup">
|
|
|
|
<return-type type="guint"/>
|
|
|
|
<parameters>
|
|
|
|
<parameter name="pool" type="GstRTSPSessionPool*"/>
|
|
|
|
</parameters>
|
|
|
|
</method>
|
2008-11-30 22:41:20 +00:00
|
|
|
<method name="create" symbol="gst_rtsp_session_pool_create">
|
|
|
|
<return-type type="GstRTSPSession*"/>
|
|
|
|
<parameters>
|
|
|
|
<parameter name="pool" type="GstRTSPSessionPool*"/>
|
|
|
|
</parameters>
|
|
|
|
</method>
|
2009-04-17 19:13:07 +00:00
|
|
|
<method name="create_watch" symbol="gst_rtsp_session_pool_create_watch">
|
|
|
|
<return-type type="GSource*"/>
|
|
|
|
<parameters>
|
|
|
|
<parameter name="pool" type="GstRTSPSessionPool*"/>
|
|
|
|
</parameters>
|
|
|
|
</method>
|
2009-07-13 09:31:23 +00:00
|
|
|
<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>
|
2008-11-30 22:41:20 +00:00
|
|
|
<method name="find" symbol="gst_rtsp_session_pool_find">
|
|
|
|
<return-type type="GstRTSPSession*"/>
|
|
|
|
<parameters>
|
|
|
|
<parameter name="pool" type="GstRTSPSessionPool*"/>
|
|
|
|
<parameter name="sessionid" type="gchar*"/>
|
|
|
|
</parameters>
|
|
|
|
</method>
|
2009-04-17 19:13:07 +00:00
|
|
|
<method name="get_max_sessions" symbol="gst_rtsp_session_pool_get_max_sessions">
|
|
|
|
<return-type type="guint"/>
|
|
|
|
<parameters>
|
|
|
|
<parameter name="pool" type="GstRTSPSessionPool*"/>
|
|
|
|
</parameters>
|
|
|
|
</method>
|
|
|
|
<method name="get_n_sessions" symbol="gst_rtsp_session_pool_get_n_sessions">
|
|
|
|
<return-type type="guint"/>
|
|
|
|
<parameters>
|
|
|
|
<parameter name="pool" type="GstRTSPSessionPool*"/>
|
|
|
|
</parameters>
|
|
|
|
</method>
|
2008-11-30 22:41:20 +00:00
|
|
|
<constructor name="new" symbol="gst_rtsp_session_pool_new">
|
|
|
|
<return-type type="GstRTSPSessionPool*"/>
|
|
|
|
</constructor>
|
|
|
|
<method name="remove" symbol="gst_rtsp_session_pool_remove">
|
2009-04-17 19:13:07 +00:00
|
|
|
<return-type type="gboolean"/>
|
2008-11-30 22:41:20 +00:00
|
|
|
<parameters>
|
|
|
|
<parameter name="pool" type="GstRTSPSessionPool*"/>
|
|
|
|
<parameter name="sess" type="GstRTSPSession*"/>
|
|
|
|
</parameters>
|
|
|
|
</method>
|
2009-04-17 19:13:07 +00:00
|
|
|
<method name="set_max_sessions" symbol="gst_rtsp_session_pool_set_max_sessions">
|
|
|
|
<return-type type="void"/>
|
|
|
|
<parameters>
|
|
|
|
<parameter name="pool" type="GstRTSPSessionPool*"/>
|
|
|
|
<parameter name="max" type="guint"/>
|
|
|
|
</parameters>
|
|
|
|
</method>
|
|
|
|
<property name="max-sessions" type="guint" readable="1" writable="1" construct="0" construct-only="0"/>
|
2009-01-23 19:31:11 +00:00
|
|
|
<vfunc name="create_session_id">
|
|
|
|
<return-type type="gchar*"/>
|
|
|
|
<parameters>
|
|
|
|
<parameter name="pool" type="GstRTSPSessionPool*"/>
|
|
|
|
</parameters>
|
|
|
|
</vfunc>
|
2009-04-17 19:13:07 +00:00
|
|
|
<field name="max_sessions" type="guint"/>
|
2008-11-30 22:41:20 +00:00
|
|
|
<field name="lock" type="GMutex*"/>
|
|
|
|
<field name="sessions" type="GHashTable*"/>
|
|
|
|
</object>
|
|
|
|
</namespace>
|
|
|
|
</api>
|