mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-01 06:01:04 +00:00
148 lines
5.6 KiB
Vala
148 lines
5.6 KiB
Vala
/* 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 void* address;
|
|
public weak Gst.RTSPConnection connection;
|
|
public weak Gst.RTSPMediaFactory factory;
|
|
public weak Gst.RTSPMediaMapping mapping;
|
|
public weak Gst.RTSPSessionPool pool;
|
|
public weak GLib.Thread thread;
|
|
public bool accept (GLib.IOChannel channel);
|
|
public Gst.RTSPMediaMapping get_media_mapping ();
|
|
public Gst.RTSPSessionPool get_session_pool ();
|
|
[CCode (has_construct_function = false)]
|
|
public RTSPClient ();
|
|
public void set_media_mapping (Gst.RTSPMediaMapping mapping);
|
|
public void set_session_pool (Gst.RTSPSessionPool pool);
|
|
}
|
|
[CCode (cheader_filename = "gst/rtsp-server/rtsp-media.h")]
|
|
public class RTSPMedia : GLib.Object {
|
|
public weak Gst.Element element;
|
|
public weak GLib.Array streams;
|
|
public unowned Gst.RTSPMediaStream get_stream (uint idx);
|
|
public uint n_streams ();
|
|
}
|
|
[CCode (cheader_filename = "gst/rtsp-server/rtsp-media-factory.h")]
|
|
public class RTSPMediaFactory : GLib.Object {
|
|
public virtual Gst.RTSPMedia? @construct (Gst.RTSPUrl url);
|
|
[NoWrapper]
|
|
public virtual Gst.Element? get_element (Gst.RTSPUrl url);
|
|
public string get_launch ();
|
|
public bool is_shared ();
|
|
[CCode (has_construct_function = false)]
|
|
public RTSPMediaFactory ();
|
|
public void set_launch (string launch);
|
|
public void set_shared (bool shared);
|
|
public string launch { get; set; }
|
|
}
|
|
[CCode (cheader_filename = "gst/rtsp-server/rtsp-media-mapping.h")]
|
|
public class RTSPMediaMapping : GLib.Object {
|
|
public weak GLib.HashTable mappings;
|
|
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);
|
|
[CCode (has_construct_function = false)]
|
|
public RTSPMediaMapping ();
|
|
public void remove_factory (string path);
|
|
}
|
|
[Compact]
|
|
[CCode (cheader_filename = "gst/rtsp-server/rstp-media.h")]
|
|
public class RTSPMediaStream {
|
|
public weak Gst.Caps caps;
|
|
public ulong caps_sig;
|
|
public weak Gst.Element element;
|
|
public uint idx;
|
|
public weak Gst.RTSPMedia media;
|
|
public weak Gst.Element payloader;
|
|
public weak Gst.Pad srcpad;
|
|
}
|
|
[CCode (cheader_filename = "gst/rtsp-server/rtsp-server.h")]
|
|
public class RTSPServer : GLib.Object {
|
|
public weak string host;
|
|
public weak GLib.IOChannel io_channel;
|
|
public weak GLib.TimeoutSource io_watch;
|
|
public int server_port;
|
|
public void* server_sin;
|
|
public weak Gst.PollFD server_sock;
|
|
[NoWrapper]
|
|
public virtual Gst.RTSPClient? accept_client (GLib.IOChannel channel);
|
|
public uint attach (GLib.MainContext? context);
|
|
public GLib.TimeoutSource? create_watch ();
|
|
public int get_backlog ();
|
|
public GLib.IOChannel? get_io_channel ();
|
|
public Gst.RTSPMediaMapping get_media_mapping ();
|
|
public int get_port ();
|
|
public Gst.RTSPSessionPool get_session_pool ();
|
|
public static bool io_func (GLib.IOChannel channel, GLib.IOCondition condition, Gst.RTSPServer server);
|
|
[CCode (has_construct_function = false)]
|
|
public RTSPServer ();
|
|
public void set_backlog (int backlog);
|
|
public void set_media_mapping (Gst.RTSPMediaMapping mapping);
|
|
public void set_port (int port);
|
|
public void set_session_pool (Gst.RTSPSessionPool pool);
|
|
public int backlog { get; set; }
|
|
[NoAccessorMethod]
|
|
public Gst.RTSPMediaMapping mapping { owned get; set; }
|
|
[NoAccessorMethod]
|
|
public Gst.RTSPSessionPool pool { owned get; set; }
|
|
public int port { get; set; }
|
|
}
|
|
[CCode (cheader_filename = "gst/rtsp-server/rtsp-session.h")]
|
|
public class RTSPSession : GLib.Object {
|
|
public weak GLib.List medias;
|
|
public weak string sessionid;
|
|
public unowned Gst.RTSPSessionMedia get_media (Gst.RTSPUrl url, Gst.RTSPMediaFactory factory);
|
|
[CCode (has_construct_function = false)]
|
|
public RTSPSession (string sessionid);
|
|
}
|
|
[Compact]
|
|
[CCode (cheader_filename = "gst/rtsp-server/rtsp-session.h")]
|
|
public class RTSPSessionMedia {
|
|
public weak Gst.RTSPMediaFactory factory;
|
|
public weak Gst.Element fdsink;
|
|
public weak Gst.RTSPMedia media;
|
|
public weak Gst.Element pipeline;
|
|
public weak Gst.Element rtpbin;
|
|
public weak Gst.RTSPSession session;
|
|
public weak GLib.List streams;
|
|
public unowned Gst.RTSPSessionStream get_stream (uint idx);
|
|
public Gst.StateChangeReturn pause ();
|
|
public Gst.StateChangeReturn play ();
|
|
public Gst.StateChangeReturn stop ();
|
|
}
|
|
[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;
|
|
public Gst.RTSPSession create ();
|
|
[NoWrapper]
|
|
public virtual string create_session_id ();
|
|
public Gst.RTSPSession? find (string sessionid);
|
|
[CCode (has_construct_function = false)]
|
|
public RTSPSessionPool ();
|
|
public void remove (Gst.RTSPSession sess);
|
|
}
|
|
[Compact]
|
|
[CCode (cheader_filename = "gst/rtsp-server/rtsp-session.h")]
|
|
public class RTSPSessionStream {
|
|
public weak Gst.RTSPTransport client_trans;
|
|
public weak string destination;
|
|
public uint idx;
|
|
public weak Gst.RTSPSessionMedia media;
|
|
public weak Gst.RTSPMediaStream media_stream;
|
|
public weak Gst.Pad recv_rtcp_sink;
|
|
public weak Gst.Pad send_rtcp_src;
|
|
public weak Gst.Pad send_rtp_sink;
|
|
public weak Gst.Pad send_rtp_src;
|
|
public weak Gst.RTSPTransport server_trans;
|
|
[CCode (array_length = false)]
|
|
public weak Gst.Element[] udpsink;
|
|
[CCode (array_length = false)]
|
|
public weak Gst.Element[] udpsrc;
|
|
public Gst.RTSPTransport set_transport (string destination, Gst.RTSPTransport ct);
|
|
}
|
|
}
|