diff options
author | Sebastian Pölsterl <sebp@k-d-w.org> | 2012-10-04 17:40:13 +0200 |
---|---|---|
committer | Sebastian Pölsterl <sebp@k-d-w.org> | 2012-10-04 17:40:13 +0200 |
commit | 26c4c5842edb6edda626d73f506293f602dddb1e (patch) | |
tree | 17afd9427b7c7594feeb2301733111dcab155284 | |
parent | cee82573165355cbccd5fb94e75e0254d742be2f (diff) |
Update Vala bindings for gstreamer 1.0sebp-vala
Vala bindings are generated based on the GIR file and Vala-specific
metadata. Requires Vala >= 0.18
-rw-r--r-- | bindings/Makefile.am | 6 | ||||
-rw-r--r-- | bindings/vala/GstRtspServer-1.0.metadata | 26 | ||||
-rw-r--r-- | bindings/vala/Makefile.am | 21 | ||||
-rw-r--r-- | bindings/vala/gst-rtsp-server-0.10.deps | 4 | ||||
-rw-r--r-- | bindings/vala/gst-rtsp-server-0.10.vapi | 292 | ||||
-rw-r--r-- | bindings/vala/gst-rtsp-server-1.0.deps | 2 | ||||
-rw-r--r-- | bindings/vala/packages/gst-rtsp-server-0.10.deps | 4 | ||||
-rw-r--r-- | bindings/vala/packages/gst-rtsp-server-0.10.files | 2 | ||||
-rw-r--r-- | bindings/vala/packages/gst-rtsp-server-0.10.gi | 817 | ||||
-rw-r--r-- | bindings/vala/packages/gst-rtsp-server-0.10.metadata | 48 | ||||
-rw-r--r-- | bindings/vala/packages/gst-rtsp-server-0.10.namespace | 1 | ||||
-rw-r--r-- | configure.ac | 13 |
12 files changed, 43 insertions, 1193 deletions
diff --git a/bindings/Makefile.am b/bindings/Makefile.am index 7a9ca5a..acdcdda 100644 --- a/bindings/Makefile.am +++ b/bindings/Makefile.am @@ -1,5 +1 @@ -SUBDIRS = - -if WITH_VALA - SUBDIRS += vala -endif +SUBDIRS = vala diff --git a/bindings/vala/GstRtspServer-1.0.metadata b/bindings/vala/GstRtspServer-1.0.metadata new file mode 100644 index 0000000..e203472 --- /dev/null +++ b/bindings/vala/GstRtspServer-1.0.metadata @@ -0,0 +1,26 @@ +RTSPAuth cheader_filename="gst/rtsp-server/rtsp-auth.h" +RTSPClient cheader_filename="gst/rtsp-server/rtsp-client.h" +RTSPClientState cheader_filename="gst/rtsp-server/rtsp-client.h" +RTSPMedia cheader_filename="gst/rtsp-server/rtsp-media.h" +RTSPMediaTrans cheader_filename="gst/rtsp-server/rtsp-media.h" +RTSPMediaFactory cheader_filename="gst/rtsp-server/rtsp-media-factory.h" +RTSPMediaFactoryURI cheader_filename="gst/rtsp-server/rtsp-media-factory-uri.h" +RTSPMediaMapping cheader_filename="gst/rtsp-server/rtsp-media-mapping.h" +RTSPMediaStatus cheader_filename="gst/rtsp-server/rtsp-media.h" +RTSPMediaStream cheader_filename="gst/rtsp-server/rtsp-media.h" +RTSPServer cheader_filename="gst/rtsp-server/rtsp-server.h" +RTSPSession cheader_filename="gst/rtsp-server/rtsp-session.h" +RTSPSessionMedia cheader_filename="gst/rtsp-server/rtsp-session.h" +RTSPSessionPool cheader_filename="gst/rtsp-server/rtsp-session-pool.h" +RTSPSessionStream cheader_filename="gst/rtsp-server/rtsp-session.h" +RTSPSessionFilterFunc cheader_filename="gst/rtsp-server/rtsp-session-pool.h" +RTSPSessionPoolFunc cheader_filename="gst/rtsp-server/rtsp-session-pool.h" +SDPInfo cheader_filename="gst/rtsp-server/rtsp-sdp.h" +RTSPFilterResult cheader_filename="gst/rtsp-server/rtsp-session-pool.h" +RTSPKeepAliveFunc cheader_filename="gst/rtsp-server/rtsp-media.h" +RTSPSendFunc cheader_filename="gst/rtsp-server/rtsp-media.h" +RTSPMedia.new_state#virtual_method name="emit_new_state" +RTSPMedia.pipeline#field unowned=false +RTSPMediaFactory.construct nullable +RTSPMediaMapping.find_media#virtual_method virtual +RTSPMediaMapping.find_media#virtual_method nullable diff --git a/bindings/vala/Makefile.am b/bindings/vala/Makefile.am index acdf20f..8914d81 100644 --- a/bindings/vala/Makefile.am +++ b/bindings/vala/Makefile.am @@ -1,13 +1,16 @@ +if ENABLE_VAPIGEN +-include $(VAPIGEN_MAKEFILE) -DEPS_FILES = gst-rtsp-server-0.10.deps -VAPI_FILES = gst-rtsp-server-0.10.vapi +gst-rtsp-server-1.0.vapi: $(top_srcdir)/gst/rtsp-server/GstRtspServer-1.0.gir -gst-rtsp-server-0.10.deps: - cp $(srcdir)/packages/gst-rtsp-server-0.10.deps $@ - -vapidir = $(datadir)/vala/vapi -vapi_DATA = $(VAPI_FILES) $(DEPS_FILES) +VAPIGEN_VAPIS = gst-rtsp-server-1.0.vapi + +gst_rtsp_server_1_0_vapi_DEPS = gstreamer-1.0 gio-2.0 +gst_rtsp_server_1_0_vapi_FILES = $(top_srcdir)/gst/rtsp-server/GstRtspServer-1.0.gir +gst_rtsp_server_1_0_vapi_METADATADIRS = $(srcdir) -EXTRA_DIST = packages $(VAPI_FILES) +vapidir = $(datadir)/vala/vapi +vapi_DATA = $(VAPIGEN_VAPIS) $(VAPIGEN_VAPIS:.vapi=.deps) +endif -CLEANFILES = $(DEPS_FILES) +EXTRA_DIST = gst-rtsp-server-1.0.vapi gst-rtsp-server-1.0.deps GstRtspServer-1.0.metadata diff --git a/bindings/vala/gst-rtsp-server-0.10.deps b/bindings/vala/gst-rtsp-server-0.10.deps deleted file mode 100644 index c8d8ea9..0000000 --- a/bindings/vala/gst-rtsp-server-0.10.deps +++ /dev/null @@ -1,4 +0,0 @@ -gstreamer-0.10 -gstreamer-sdp-0.10 -gstreamer-rtsp-0.10 -gmodule-2.0 diff --git a/bindings/vala/gst-rtsp-server-0.10.vapi b/bindings/vala/gst-rtsp-server-0.10.vapi deleted file mode 100644 index d537a96..0000000 --- a/bindings/vala/gst-rtsp-server-0.10.vapi +++ /dev/null @@ -1,292 +0,0 @@ -/* gst-rtsp-server-0.10.vapi generated by vapigen, do not modify. */ - -[CCode (cprefix = "Gst", lower_case_cprefix = "gst_")] -namespace Gst { - [CCode (cheader_filename = "gst/rtsp-server/rtsp-client.h")] - public class RTSPClient : GLib.Object { - public weak Gst.RTSPConnection connection; - public bool is_ipv6; - public weak Gst.RTSPMedia media; - public weak string server_ip; - public weak GLib.List sessions; - public weak GLib.List streams; - public weak Gst.RTSPUrl uri; - public weak Gst.RTSPWatch watch; - public uint watchid; - [CCode (has_construct_function = false)] - public RTSPClient (); - public bool accept (GLib.IOChannel channel); - public Gst.RTSPMediaMapping get_media_mapping (); - public Gst.RTSPSessionPool get_session_pool (); - public void set_media_mapping (Gst.RTSPMediaMapping mapping); - public void set_session_pool (Gst.RTSPSessionPool pool); - public Gst.RTSPMediaMapping media_mapping { get; set; } - public Gst.RTSPSessionPool session_pool { get; set; } - } - [CCode (cheader_filename = "gst/rtsp-server/rtsp-media.h")] - public class RTSPMedia : GLib.Object { - public int active; - public bool buffering; - public weak GLib.Cond cond; - public weak GLib.List @dynamic; - public weak Gst.Element element; - public bool eos_pending; - public weak Gst.Element fakesink; - public uint id; - public bool is_ipv6; - public bool is_live; - public weak GLib.Mutex @lock; - public Gst.Element pipeline; - public weak Gst.RTSPTimeRange range; - public bool reused; - public weak Gst.Element rtpbin; - public weak GLib.TimeoutSource source; - public Gst.RTSPMediaStatus status; - public weak GLib.Array streams; - public Gst.State target_state; - [CCode (has_construct_function = false)] - public RTSPMedia (); - public Gst.RTSPLowerTrans get_protocols (); - public unowned Gst.RTSPMediaStream get_stream (uint idx); - [NoWrapper] - public virtual bool handle_message (Gst.Message message); - public bool is_eos_shutdown (); - public bool is_prepared (); - public bool is_reusable (); - public bool is_shared (); - public uint n_streams (); - public bool prepare (); - public void remove_elements (); - public bool seek (Gst.RTSPTimeRange range); - public void set_eos_shutdown (bool eos_shutdown); - public void set_protocols (Gst.RTSPLowerTrans protocols); - public void set_reusable (bool reusable); - public void set_shared (bool shared); - public bool set_state (Gst.State state, GLib.Array trans); - public virtual bool unprepare (); - [NoAccessorMethod] - public bool eos_shutdown { get; set; } - public Gst.RTSPLowerTrans protocols { get; set; } - [NoAccessorMethod] - public bool reusable { get; set; } - [NoAccessorMethod] - public bool shared { get; set; } - public virtual signal void unprepared (); - } - [CCode (cheader_filename = "gst/rtsp-server/rtsp-media-factory.h")] - public class RTSPMediaFactory : GLib.Object { - public weak GLib.Mutex @lock; - public weak GLib.HashTable medias; - public weak GLib.Mutex medias_lock; - [CCode (has_construct_function = false)] - public RTSPMediaFactory (); - public void collect_streams (Gst.RTSPUrl url, Gst.RTSPMedia media); - [NoWrapper] - public virtual void configure (Gst.RTSPMedia media); - public virtual Gst.RTSPMedia? @construct (Gst.RTSPUrl url); - [NoWrapper] - public virtual Gst.Element create_pipeline (Gst.RTSPMedia media); - [NoWrapper] - public virtual string gen_key (Gst.RTSPUrl url); - [NoWrapper] - public virtual Gst.Element? get_element (Gst.RTSPUrl url); - public string get_launch (); - public bool is_eos_shutdown (); - public bool is_shared (); - public void set_eos_shutdown (bool eos_shutdown); - public void set_launch (string launch); - public void set_shared (bool shared); - [NoAccessorMethod] - public bool eos_shutdown { get; set; } - public string launch { get; set; } - [NoAccessorMethod] - public bool shared { get; set; } - } - [CCode (cheader_filename = "gst/rtsp-server/rtsp-media-mapping.h")] - public class RTSPMediaMapping : GLib.Object { - public weak GLib.HashTable mappings; - [CCode (has_construct_function = false)] - public RTSPMediaMapping (); - public void add_factory (string path, Gst.RTSPMediaFactory factory); - public Gst.RTSPMediaFactory? find_factory (Gst.RTSPUrl url); - [NoWrapper] - public virtual Gst.RTSPMediaFactory? find_media (Gst.RTSPUrl url); - public void remove_factory (string path); - } - [Compact] - [CCode (cheader_filename = "gst/rtsp-server/rtsp-media.h")] - public class RTSPMediaStream { - [CCode (array_length = false)] - public weak Gst.Element[] appsink; - [CCode (array_length = false)] - public weak Gst.Element[] appsrc; - public weak Gst.Caps caps; - public ulong caps_sig; - public weak GLib.List destinations; - public bool filter_duplicates; - public weak Gst.Element payloader; - public bool prepared; - public weak Gst.Pad recv_rtcp_sink; - public weak Gst.Pad recv_rtp_sink; - [CCode (array_length = false)] - public weak Gst.Element[] selector; - public weak Gst.Pad send_rtcp_src; - public weak Gst.Pad send_rtp_sink; - public weak Gst.Pad send_rtp_src; - public weak Gst.RTSPRange server_port; - public weak GLib.Object session; - public weak Gst.Pad srcpad; - [CCode (array_length = false)] - public weak Gst.Element[] tee; - public weak GLib.List transports; - [CCode (array_length = false)] - public weak Gst.Element[] udpsink; - [CCode (array_length = false)] - public weak Gst.Element[] udpsrc; - public Gst.FlowReturn rtcp (Gst.Buffer buffer); - public Gst.FlowReturn rtp (Gst.Buffer buffer); - } - [Compact] - [CCode (cheader_filename = "gst/rtsp-server/rtsp-media.h")] - public class RTSPMediaTrans { - public bool active; - public uint idx; - public weak GLib.DestroyNotify ka_notify; - public void* ka_user_data; - public weak Gst.RTSPKeepAliveFunc keep_alive; - public weak GLib.DestroyNotify notify; - public weak GLib.Object rtpsource; - public weak Gst.RTSPSendFunc send_rtcp; - public weak Gst.RTSPSendFunc send_rtp; - public bool timeout; - public weak Gst.RTSPTransport transport; - public void* user_data; - public void cleanup (); - } - [CCode (cheader_filename = "gst/rtsp-server/rtsp-server.h")] - public class RTSPServer : GLib.Object { - public signal void client_connected (RTSPClient client); - public weak GLib.IOChannel io_channel; - public weak GLib.TimeoutSource io_watch; - public void* server_sin; - public Gst.PollFD server_sock; - [CCode (has_construct_function = false)] - public RTSPServer (); - [NoWrapper] - public virtual Gst.RTSPClient? accept_client (GLib.IOChannel channel); - public uint attach (GLib.MainContext? context); - public GLib.TimeoutSource? create_watch (); - public string get_address (); - public int get_backlog (); - public GLib.IOChannel? get_io_channel (); - public Gst.RTSPMediaMapping get_media_mapping (); - public string get_service (); - public Gst.RTSPSessionPool get_session_pool (); - public static bool io_func (GLib.IOChannel channel, GLib.IOCondition condition, Gst.RTSPServer server); - public void set_address (string address); - public void set_backlog (int backlog); - public void set_media_mapping (Gst.RTSPMediaMapping mapping); - public void set_service (string service); - public void set_session_pool (Gst.RTSPSessionPool pool); - public string address { get; set; } - public int backlog { get; set; } - public Gst.RTSPMediaMapping media_mapping { get; set; } - public string service { get; set; } - public Gst.RTSPSessionPool session_pool { get; set; } - } - [CCode (cheader_filename = "gst/rtsp-server/rtsp-session.h")] - public class RTSPSession : GLib.Object { - public GLib.TimeVal create_time; - public int expire_count; - public GLib.TimeVal last_access; - public weak GLib.List medias; - [CCode (has_construct_function = false)] - public RTSPSession (string sessionid); - public void allow_expire (); - public unowned Gst.RTSPSessionMedia get_media (Gst.RTSPUrl uri); - public unowned string get_sessionid (); - public uint get_timeout (); - public bool is_expired (GLib.TimeVal now); - public unowned Gst.RTSPSessionMedia manage_media (Gst.RTSPUrl uri, owned Gst.RTSPMedia media); - public int next_timeout (GLib.TimeVal now); - public void prevent_expire (); - public bool release_media (Gst.RTSPSessionMedia media); - public void set_timeout (uint timeout); - public void touch (); - public string sessionid { get; construct; } - public uint timeout { get; set; } - } - [Compact] - [CCode (cheader_filename = "gst/rtsp-server/rtsp-session.h")] - public class RTSPSessionMedia { - public uint counter; - public weak Gst.RTSPMedia media; - public Gst.RTSPState state; - public weak GLib.Array streams; - public weak Gst.RTSPUrl url; - public bool alloc_channels (Gst.RTSPRange range); - public unowned Gst.RTSPSessionStream get_stream (uint idx); - public bool set_state (Gst.State state); - } - [CCode (cheader_filename = "gst/rtsp-server/rtsp-session-pool.h")] - public class RTSPSessionPool : GLib.Object { - public weak GLib.Mutex @lock; - public weak GLib.HashTable sessions; - [CCode (has_construct_function = false)] - public RTSPSessionPool (); - public uint cleanup (); - public Gst.RTSPSession create (); - [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 bool remove (Gst.RTSPSession sess); - public void set_max_sessions (uint max); - public uint max_sessions { get; set; } - } - [Compact] - [CCode (cheader_filename = "gst/rtsp-server/rtsp-session.h")] - public class RTSPSessionStream { - public weak Gst.RTSPMediaStream media_stream; - public weak Gst.RTSPMediaTrans trans; - public void set_callbacks (Gst.RTSPSendFunc send_rtp, Gst.RTSPSendFunc send_rtcp, GLib.DestroyNotify notify); - public void set_keepalive (Gst.RTSPKeepAliveFunc keep_alive, GLib.DestroyNotify notify); - public Gst.RTSPTransport set_transport (Gst.RTSPTransport ct); - } - [Compact] - [CCode (cheader_filename = "gst/rtsp-server/rtsp-sdp.h")] - public class SDPInfo { - public weak string server_ip; - public weak string server_proto; - } - [CCode (cprefix = "GST_RTSP_FILTER_", has_type_id = false, cheader_filename = "gst/rtsp-server/rtsp-session-pool.h")] - public enum RTSPFilterResult { - REMOVE, - KEEP, - REF - } - [CCode (cprefix = "GST_RTSP_MEDIA_STATUS_", has_type_id = false, cheader_filename = "gst/rtsp-server/rtsp-media.h")] - public enum RTSPMediaStatus { - UNPREPARED, - PREPARING, - PREPARED, - ERROR - } - [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); - [CCode (cheader_filename = "gst/gst.h")] - public static Gst.RTSPResult rtsp_params_set (Gst.RTSPClient client, Gst.RTSPUrl uri, Gst.RTSPSession session, Gst.RTSPMessage request, Gst.RTSPMessage response); - [CCode (cheader_filename = "gst/rtsp-server/rtsp-sdp.h")] - public static bool rtsp_sdp_from_media (ref unowned Gst.SDPMessage sdp, Gst.SDPInfo info, Gst.RTSPMedia media); -} diff --git a/bindings/vala/gst-rtsp-server-1.0.deps b/bindings/vala/gst-rtsp-server-1.0.deps new file mode 100644 index 0000000..1c8cb78 --- /dev/null +++ b/bindings/vala/gst-rtsp-server-1.0.deps @@ -0,0 +1,2 @@ +gstreamer-rtsp-1.0 +gio-2.0 diff --git a/bindings/vala/packages/gst-rtsp-server-0.10.deps b/bindings/vala/packages/gst-rtsp-server-0.10.deps deleted file mode 100644 index c8d8ea9..0000000 --- a/bindings/vala/packages/gst-rtsp-server-0.10.deps +++ /dev/null @@ -1,4 +0,0 @@ -gstreamer-0.10 -gstreamer-sdp-0.10 -gstreamer-rtsp-0.10 -gmodule-2.0 diff --git a/bindings/vala/packages/gst-rtsp-server-0.10.files b/bindings/vala/packages/gst-rtsp-server-0.10.files deleted file mode 100644 index f7e4d23..0000000 --- a/bindings/vala/packages/gst-rtsp-server-0.10.files +++ /dev/null @@ -1,2 +0,0 @@ -include/gstreamer-0.10/gst/rtsp-server -lib/libgstrtspserver-0.10.so diff --git a/bindings/vala/packages/gst-rtsp-server-0.10.gi b/bindings/vala/packages/gst-rtsp-server-0.10.gi deleted file mode 100644 index 8933d3b..0000000 --- a/bindings/vala/packages/gst-rtsp-server-0.10.gi +++ /dev/null @@ -1,817 +0,0 @@ -<?xml version="1.0"?> -<api version="1.0"> - <namespace name="Gst"> - <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> - <function name="rtsp_sdp_from_media" symbol="gst_rtsp_sdp_from_media"> - <return-type type="gboolean"/> - <parameters> - <parameter name="sdp" type="GstSDPMessage*"/> - <parameter name="info" type="GstSDPInfo*"/> - <parameter name="media" type="GstRTSPMedia*"/> - </parameters> - </function> - <callback name="GstRTSPKeepAliveFunc"> - <return-type type="void"/> - <parameters> - <parameter name="user_data" type="gpointer"/> - </parameters> - </callback> - <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> - <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> - <parameter name="pool" type="GstRTSPSessionPool*"/> - <parameter name="user_data" type="gpointer"/> - </parameters> - </callback> - <struct name="GstRTSPMediaStream"> - <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> - <field name="srcpad" type="GstPad*"/> - <field name="payloader" type="GstElement*"/> - <field name="prepared" type="gboolean"/> - <field name="recv_rtcp_sink" type="GstPad*"/> - <field name="recv_rtp_sink" type="GstPad*"/> - <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*[]"/> - <field name="tee" type="GstElement*[]"/> - <field name="selector" type="GstElement*[]"/> - <field name="server_port" type="GstRTSPRange"/> - <field name="caps_sig" type="gulong"/> - <field name="caps" type="GstCaps*"/> - <field name="transports" type="GList*"/> - <field name="filter_duplicates" type="gboolean"/> - <field name="destinations" type="GList*"/> - </struct> - <struct name="GstRTSPMediaTrans"> - <method name="cleanup" symbol="gst_rtsp_media_trans_cleanup"> - <return-type type="void"/> - <parameters> - <parameter name="trans" type="GstRTSPMediaTrans*"/> - </parameters> - </method> - <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"/> - <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"/> - <field name="transport" type="GstRTSPTransport*"/> - <field name="rtpsource" type="GObject*"/> - </struct> - <struct name="GstRTSPSessionMedia"> - <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> - <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> - <method name="set_state" symbol="gst_rtsp_session_media_set_state"> - <return-type type="gboolean"/> - <parameters> - <parameter name="media" type="GstRTSPSessionMedia*"/> - <parameter name="state" type="GstState"/> - </parameters> - </method> - <field name="url" type="GstRTSPUrl*"/> - <field name="media" type="GstRTSPMedia*"/> - <field name="state" type="GstRTSPState"/> - <field name="counter" type="guint"/> - <field name="streams" type="GArray*"/> - </struct> - <struct name="GstRTSPSessionStream"> - <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> - <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> - <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> - <field name="trans" type="GstRTSPMediaTrans"/> - <field name="media_stream" type="GstRTSPMediaStream*"/> - </struct> - <struct name="GstSDPInfo"> - <field name="server_proto" type="gchar*"/> - <field name="server_ip" type="gchar*"/> - </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> - <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> - <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*"/> - <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*"/> - </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*"/> - </constructor> - <method name="set_media_mapping" symbol="gst_rtsp_client_set_media_mapping"> - <return-type type="void"/> - <parameters> - <parameter name="client" type="GstRTSPClient*"/> - <parameter name="mapping" type="GstRTSPMediaMapping*"/> - </parameters> - </method> - <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> - <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"/> - <field name="connection" type="GstRTSPConnection*"/> - <field name="watch" type="GstRTSPWatch*"/> - <field name="watchid" type="guint"/> - <field name="server_ip" type="gchar*"/> - <field name="is_ipv6" type="gboolean"/> - <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*"/> - </object> - <object name="GstRTSPMedia" parent="GObject" type-name="GstRTSPMedia" get-type="gst_rtsp_media_get_type"> - <method name="get_protocols" symbol="gst_rtsp_media_get_protocols"> - <return-type type="GstRTSPLowerTrans"/> - <parameters> - <parameter name="media" type="GstRTSPMedia*"/> - </parameters> - </method> - <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> - <method name="is_eos_shutdown" symbol="gst_rtsp_media_is_eos_shutdown"> - <return-type type="gboolean"/> - <parameters> - <parameter name="media" type="GstRTSPMedia*"/> - </parameters> - </method> - <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> - <method name="n_streams" symbol="gst_rtsp_media_n_streams"> - <return-type type="guint"/> - <parameters> - <parameter name="media" type="GstRTSPMedia*"/> - </parameters> - </method> - <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> - <method name="remove_elements" symbol="gst_rtsp_media_remove_elements"> - <return-type type="void"/> - <parameters> - <parameter name="media" type="GstRTSPMedia*"/> - </parameters> - </method> - <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> - <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> - <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> - <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"/> - <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> - <vfunc name="unprepare"> - <return-type type="gboolean"/> - <parameters> - <parameter name="media" type="GstRTSPMedia*"/> - </parameters> - </vfunc> - <field name="lock" type="GMutex*"/> - <field name="cond" type="GCond*"/> - <field name="shared" type="gboolean"/> - <field name="reusable" type="gboolean"/> - <field name="protocols" type="GstRTSPLowerTrans"/> - <field name="reused" type="gboolean"/> - <field name="is_ipv6" type="gboolean"/> - <field name="eos_shutdown" type="gboolean"/> - <field name="element" type="GstElement*"/> - <field name="streams" type="GArray*"/> - <field name="dynamic" type="GList*"/> - <field name="status" type="GstRTSPMediaStatus"/> - <field name="active" type="gint"/> - <field name="eos_pending" type="gboolean"/> - <field name="pipeline" type="GstElement*"/> - <field name="fakesink" type="GstElement*"/> - <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"/> - </object> - <object name="GstRTSPMediaFactory" parent="GObject" type-name="GstRTSPMediaFactory" get-type="gst_rtsp_media_factory_get_type"> - <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> - <method name="construct" symbol="gst_rtsp_media_factory_construct"> - <return-type type="GstRTSPMedia*"/> - <parameters> - <parameter name="factory" type="GstRTSPMediaFactory*"/> - <parameter name="url" type="GstRTSPUrl*"/> - </parameters> - </method> - <method name="get_launch" symbol="gst_rtsp_media_factory_get_launch"> - <return-type type="gchar*"/> - <parameters> - <parameter name="factory" type="GstRTSPMediaFactory*"/> - </parameters> - </method> - <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> - <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*"/> - </constructor> - <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> - <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> - <property name="eos-shutdown" type="gboolean" readable="1" writable="1" construct="0" construct-only="0"/> - <property name="launch" type="char*" readable="1" writable="1" construct="0" construct-only="0"/> - <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> - <vfunc name="construct"> - <return-type type="GstRTSPMedia*"/> - <parameters> - <parameter name="factory" type="GstRTSPMediaFactory*"/> - <parameter name="url" type="GstRTSPUrl*"/> - </parameters> - </vfunc> - <vfunc name="create_pipeline"> - <return-type type="GstElement*"/> - <parameters> - <parameter name="factory" type="GstRTSPMediaFactory*"/> - <parameter name="media" type="GstRTSPMedia*"/> - </parameters> - </vfunc> - <vfunc name="gen_key"> - <return-type type="gchar*"/> - <parameters> - <parameter name="factory" type="GstRTSPMediaFactory*"/> - <parameter name="url" type="GstRTSPUrl*"/> - </parameters> - </vfunc> - <vfunc name="get_element"> - <return-type type="GstElement*"/> - <parameters> - <parameter name="factory" type="GstRTSPMediaFactory*"/> - <parameter name="url" type="GstRTSPUrl*"/> - </parameters> - </vfunc> - <field name="lock" type="GMutex*"/> - <field name="launch" type="gchar*"/> - <field name="shared" type="gboolean"/> - <field name="eos_shutdown" type="gboolean"/> - <field name="medias_lock" type="GMutex*"/> - <field name="medias" type="GHashTable*"/> - </object> - <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"> - <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> - <method name="create_watch" symbol="gst_rtsp_server_create_watch"> - <return-type type="GSource*"/> - <parameters> - <parameter name="server" type="GstRTSPServer*"/> - </parameters> - </method> - <method name="get_address" symbol="gst_rtsp_server_get_address"> - <return-type type="gchar*"/> - <parameters> - <parameter name="server" type="GstRTSPServer*"/> - </parameters> - </method> - <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> - <method name="get_service" symbol="gst_rtsp_server_get_service"> - <return-type type="gchar*"/> - <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"> - <return-type type="gboolean"/> - <parameters> - <parameter name="channel" type="GIOChannel*"/> - <parameter name="condition" type="GIOCondition"/> - <parameter name="server" type="GstRTSPServer*"/> - </parameters> - </method> - <constructor name="new" symbol="gst_rtsp_server_new"> - <return-type type="GstRTSPServer*"/> - </constructor> - <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> - <method name="set_backlog" symbol="gst_rtsp_server_set_backlog"> - <return-type type="void"/> - <parameters> - <parameter name="server" type="GstRTSPServer*"/> - <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> - <method name="set_service" symbol="gst_rtsp_server_set_service"> - <return-type type="void"/> - <parameters> - <parameter name="server" type="GstRTSPServer*"/> - <parameter name="service" type="gchar*"/> - </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> - <property name="address" type="char*" readable="1" writable="1" construct="0" construct-only="0"/> - <property name="backlog" type="gint" readable="1" writable="1" construct="0" construct-only="0"/> - <property name="media-mapping" type="GstRTSPMediaMapping*" readable="1" writable="1" construct="0" construct-only="0"/> - <property name="service" type="char*" readable="1" writable="1" construct="0" construct-only="0"/> - <property name="session-pool" type="GstRTSPSessionPool*" readable="1" writable="1" construct="0" construct-only="0"/> - <vfunc name="accept_client"> - <return-type type="GstRTSPClient*"/> - <parameters> - <parameter name="server" type="GstRTSPServer*"/> - <parameter name="channel" type="GIOChannel*"/> - </parameters> - </vfunc> - <field name="address" type="gchar*"/> - <field name="service" type="gchar*"/> - <field name="backlog" type="gint"/> - <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*"/> - <field name="session_pool" type="GstRTSPSessionPool*"/> - <field name="media_mapping" type="GstRTSPMediaMapping*"/> - </object> - <object name="GstRTSPSession" parent="GObject" type-name="GstRTSPSession" get-type="gst_rtsp_session_get_type"> - <method name="allow_expire" symbol="gst_rtsp_session_allow_expire"> - <return-type type="void"/> - <parameters> - <parameter name="session" type="GstRTSPSession*"/> - </parameters> - </method> - <method name="get_media" symbol="gst_rtsp_session_get_media"> - <return-type type="GstRTSPSessionMedia*"/> - <parameters> - <parameter name="sess" type="GstRTSPSession*"/> - <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*"/> - </parameters> - </method> - <constructor name="new" symbol="gst_rtsp_session_new"> - <return-type type="GstRTSPSession*"/> - <parameters> - <parameter name="sessionid" type="gchar*"/> - </parameters> - </constructor> - <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> - <method name="prevent_expire" symbol="gst_rtsp_session_prevent_expire"> - <return-type type="void"/> - <parameters> - <parameter name="session" type="GstRTSPSession*"/> - </parameters> - </method> - <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"/> - <field name="sessionid" type="gchar*"/> - <field name="timeout" type="guint"/> - <field name="create_time" type="GTimeVal"/> - <field name="last_access" type="GTimeVal"/> - <field name="expire_count" type="gint"/> - <field name="medias" type="GList*"/> - </object> - <object name="GstRTSPSessionPool" parent="GObject" type-name="GstRTSPSessionPool" get-type="gst_rtsp_session_pool_get_type"> - <method name="cleanup" symbol="gst_rtsp_session_pool_cleanup"> - <return-type type="guint"/> - <parameters> - <parameter name="pool" type="GstRTSPSessionPool*"/> - </parameters> - </method> - <method name="create" symbol="gst_rtsp_session_pool_create"> - <return-type type="GstRTSPSession*"/> - <parameters> - <parameter name="pool" type="GstRTSPSessionPool*"/> - </parameters> - </method> - <method name="create_watch" symbol="gst_rtsp_session_pool_create_watch"> - <return-type type="GSource*"/> - <parameters> - <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> - <parameter name="pool" type="GstRTSPSessionPool*"/> - <parameter name="sessionid" type="gchar*"/> - </parameters> - </method> - <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> - <constructor name="new" symbol="gst_rtsp_session_pool_new"> - <return-type type="GstRTSPSessionPool*"/> - </constructor> - <method name="remove" symbol="gst_rtsp_session_pool_remove"> - <return-type type="gboolean"/> - <parameters> - <parameter name="pool" type="GstRTSPSessionPool*"/> - <parameter name="sess" type="GstRTSPSession*"/> - </parameters> - </method> - <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"/> - <vfunc name="create_session_id"> - <return-type type="gchar*"/> - <parameters> - <parameter name="pool" type="GstRTSPSessionPool*"/> - </parameters> - </vfunc> - <field name="max_sessions" type="guint"/> - <field name="lock" type="GMutex*"/> - <field name="sessions" type="GHashTable*"/> - </object> - </namespace> -</api> diff --git a/bindings/vala/packages/gst-rtsp-server-0.10.metadata b/bindings/vala/packages/gst-rtsp-server-0.10.metadata deleted file mode 100644 index a69c2ed..0000000 --- a/bindings/vala/packages/gst-rtsp-server-0.10.metadata +++ /dev/null @@ -1,48 +0,0 @@ -Gst cprefix="Gst" lower_case_cprefix="gst_" cheader_filename="gst/gst.h" -GstRTSPClient cheader_filename="gst/rtsp-server/rtsp-client.h" -GstRTSPMedia cheader_filename="gst/rtsp-server/rtsp-media.h" -GstRTSPMediaTrans cheader_filename="gst/rtsp-server/rtsp-media.h" -GstRTSPMediaFactory cheader_filename="gst/rtsp-server/rtsp-media-factory.h" -GstRTSPMediaMapping cheader_filename="gst/rtsp-server/rtsp-media-mapping.h" -GstRTSPMediaStatus cheader_filename="gst/rtsp-server/rtsp-media.h" -GstRTSPMediaStream cheader_filename="gst/rtsp-server/rtsp-media.h" -GstRTSPServer cheader_filename="gst/rtsp-server/rtsp-server.h" -GstRTSPSession cheader_filename="gst/rtsp-server/rtsp-session.h" -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" -GstRTSPSessionPoolFunc cheader_filename="gst/rtsp-server/rtsp-session-pool.h" -GstSDPInfo cheader_filename="gst/rtsp-server/rtsp-sdp.h" -GstRTSPFilterResult cheader_filename="gst/rtsp-server/rtsp-session-pool.h" -GstRTSPKeepAliveFunc cheader_filename="gst/rtsp-server/rtsp-media.h" -GstRTSPSendFunc cheader_filename="gst/rtsp-server/rtsp-media.h" -gst_rtsp_sdp_from_media cheader_filename="gst/rtsp-server/rtsp-sdp.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_media_factory_construct transfer_ownership="1" nullable="1" -gst_rtsp_media_factory_gen_key transfer_ownership="1" -gst_rtsp_media_factory_get_element transfer_ownership="1" nullable="1" -gst_rtsp_media_factory_create_pipeline transfer_ownership="1" -gst_rtsp_media_mapping_find_factory transfer_ownership="1" nullable="1" -gst_rtsp_media_mapping_find_media transfer_ownership="1" nullable="1" -gst_rtsp_media_mapping_add_factory transfer_ownership="1" -gst_rtsp_sdp_from_media.sdp is_ref="1" -gst_rtsp_server_accept_client transfer_ownership="1" nullable="1" -gst_rtsp_server_create_watch transfer_ownership="1" nullable="1" -gst_rtsp_server_get_address transfer_ownership="1" -gst_rtsp_server_get_io_channel transfer_ownership="1" nullable="1" -gst_rtsp_server_get_media_mapping transfer_ownership="1" -gst_rtsp_server_get_service transfer_ownership="1" -gst_rtsp_server_get_session_pool transfer_ownership="1" -gst_rtsp_server_get_service transfer_ownership="1" -gst_rtsp_server_attach.context nullable="1" -gst_rtsp_session_manage_media.media takes_ownership="1" -gst_rtsp_session_pool_create 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" -GstRTSPMedia.pipeline weak="0" diff --git a/bindings/vala/packages/gst-rtsp-server-0.10.namespace b/bindings/vala/packages/gst-rtsp-server-0.10.namespace deleted file mode 100644 index 100750e..0000000 --- a/bindings/vala/packages/gst-rtsp-server-0.10.namespace +++ /dev/null @@ -1 +0,0 @@ -Gst diff --git a/configure.ac b/configure.ac index c61282f..622c890 100644 --- a/configure.ac +++ b/configure.ac @@ -92,16 +92,7 @@ AG_GST_DOCBOOK_CHECK GTK_DOC_CHECK([1.3]) dnl Check for Vala -AC_ARG_ENABLE([vala], - AC_HELP_STRING([--enable-vala],[enable Vala bindings (default=yes)]), - [case "${enableval}" in - yes) enable_vala=yes ;; - no) enable_vala=no ;; - *) AC_MSG_ERROR(bad value ${enableval} for --enable-vala) ;; - esac - ], - [enable_vala=yes]) dnl Default value -AM_CONDITIONAL(WITH_VALA, [test "x$enable_vala" = "xyes"]) +VAPIGEN_CHECK([0.18]) dnl *** checks for libraries *** @@ -275,7 +266,7 @@ Configuration Source code location : ${srcdir} Prefix : ${prefix} Compiler : ${CC} - Vala bindings : ${enable_vala} + vapigen : ${VAPIGEN} gst-rtsp-server configured. Type 'make' to build. " |