Commit c517b19f authored by Rico Tzschichholz's avatar Rico Tzschichholz

gstreamer: Update from 1.15.1+ git master

parent f7c386ea
......@@ -1131,6 +1131,8 @@ namespace Gst {
public bool can_monitor ();
public class unowned string? class_get_metadata (string key);
public void device_add (Gst.Device device);
[Version (since = "1.16")]
public void device_changed (Gst.Device device, Gst.Device changed_device);
public void device_remove (Gst.Device device);
public Gst.Bus get_bus ();
public GLib.List<Gst.Device> get_devices ();
......@@ -1563,6 +1565,9 @@ namespace Gst {
[Version (since = "1.4")]
public Message.device_added (Gst.Object src, Gst.Device device);
[CCode (has_construct_function = false)]
[Version (since = "1.16")]
public Message.device_changed (Gst.Object src, Gst.Device device, Gst.Device changed_device);
[CCode (has_construct_function = false)]
[Version (since = "1.4")]
public Message.device_removed (Gst.Object src, Gst.Device device);
[CCode (has_construct_function = false)]
......@@ -1606,6 +1611,8 @@ namespace Gst {
public bool parse_context_type (out unowned string context_type);
[Version (since = "1.4")]
public void parse_device_added (out Gst.Device device);
[Version (since = "1.16")]
public void parse_device_changed (out Gst.Device device, out Gst.Device changed_device);
[Version (since = "1.4")]
public void parse_device_removed (out Gst.Device device);
public void parse_error (out GLib.Error gerror, out string debug);
......
......@@ -117,6 +117,8 @@ namespace Gst {
public bool set_connection (owned Gst.RTSP.Connection conn);
public void set_mount_points (Gst.RTSPServer.MountPoints? mounts);
public void set_send_func (owned Gst.RTSPServer.ClientSendFunc func);
[Version (since = "1.16")]
public void set_send_messages_func (owned Gst.RTSPServer.ClientSendMessagesFunc func);
public void set_session_pool (Gst.RTSPServer.SessionPool? pool);
public void set_thread_pool (Gst.RTSPServer.ThreadPool? pool);
[NoWrapper]
......@@ -639,7 +641,6 @@ namespace Gst {
public void set_ulpfec_percentage (uint percentage);
[Version (since = "1.16")]
public void set_ulpfec_pt (uint pt);
public void set_watch_context (GLib.MainContext context);
public GLib.List<Gst.RTSPServer.StreamTransport> transport_filter (Gst.RTSPServer.StreamTransportFilterFunc? func);
public bool unblock_linked ();
public bool update_crypto (uint ssrc, Gst.Caps? crypto);
......@@ -665,10 +666,16 @@ namespace Gst {
public void message_sent ();
public Gst.FlowReturn recv_data (uint channel, owned Gst.Buffer buffer);
public bool send_rtcp (Gst.Buffer buffer);
[Version (since = "1.16")]
public bool send_rtcp_list (Gst.BufferList buffer_list);
public bool send_rtp (Gst.Buffer buffer);
[Version (since = "1.16")]
public bool send_rtp_list (Gst.BufferList buffer_list);
public bool set_active (bool active);
public void set_callbacks (Gst.RTSPServer.SendFunc send_rtp, owned Gst.RTSPServer.SendFunc send_rtcp);
public void set_keepalive (owned Gst.RTSPServer.KeepAliveFunc keep_alive);
[Version (since = "1.16")]
public void set_list_callbacks (Gst.RTSPServer.SendListFunc send_rtp_list, owned Gst.RTSPServer.SendListFunc send_rtcp_list);
public void set_message_sent (owned Gst.RTSPServer.MessageSentFunc message_sent);
public void set_timed_out (bool timedout);
public void set_transport (owned Gst.RTSP.Transport tr);
......@@ -821,6 +828,9 @@ namespace Gst {
}
[CCode (cheader_filename = "gst/rtsp-server/rtsp-server.h", cname = "GstRTSPClientSendFunc", instance_pos = 3.9)]
public delegate bool ClientSendFunc (Gst.RTSPServer.Client client, Gst.RTSP.Message message, bool close);
[CCode (cheader_filename = "gst/rtsp-server/rtsp-server.h", cname = "GstRTSPClientSendMessagesFunc", instance_pos = 3.9)]
[Version (since = "1.16")]
public delegate bool ClientSendMessagesFunc (Gst.RTSPServer.Client client, [CCode (array_length_cname = "n_messages", array_length_pos = 2.5, array_length_type = "guint", type = "GstRTSPMessage*")] Gst.RTSP.Message[] messages, bool close);
[CCode (cheader_filename = "gst/rtsp-server/rtsp-server.h", cname = "GstRTSPClientSessionFilterFunc", instance_pos = 2.9)]
public delegate Gst.RTSPServer.FilterResult ClientSessionFilterFunc (Gst.RTSPServer.Client client, Gst.RTSPServer.Session sess);
[CCode (cheader_filename = "gst/rtsp-server/rtsp-server.h", cname = "GstRTSPKeepAliveFunc", instance_pos = 0.9)]
......@@ -829,6 +839,9 @@ namespace Gst {
public delegate void MessageSentFunc ();
[CCode (cheader_filename = "gst/rtsp-server/rtsp-server.h", cname = "GstRTSPSendFunc", instance_pos = 2.9)]
public delegate bool SendFunc (Gst.Buffer buffer, uint8 channel);
[CCode (cheader_filename = "gst/rtsp-server/rtsp-server.h", cname = "GstRTSPSendListFunc", instance_pos = 2.9)]
[Version (since = "1.16")]
public delegate bool SendListFunc (Gst.BufferList buffer_list, uint8 channel);
[CCode (cheader_filename = "gst/rtsp-server/rtsp-server.h", cname = "GstRTSPServerClientFilterFunc", instance_pos = 2.9)]
public delegate Gst.RTSPServer.FilterResult ServerClientFilterFunc (Gst.RTSPServer.Server server, Gst.RTSPServer.Client client);
[CCode (cheader_filename = "gst/rtsp-server/rtsp-server.h", cname = "GstRTSPSessionFilterFunc", instance_pos = 2.9)]
......
......@@ -56,3 +56,7 @@ RTSPThread base_type="Gst.MiniObject"
.mini_object skip
RTSPToken base_type="Gst.MiniObject"
.mini_object skip
// Upstream
RTSPClientSendMessagesFunc
.messages array array_length_idx=2
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment