summaryrefslogtreecommitdiff
path: root/vapi/gstreamer-net-1.0.vapi
diff options
context:
space:
mode:
authorEvan Nemerson <evan@coeus-group.com>2012-08-20 01:30:38 -0700
committerEvan Nemerson <evan@coeus-group.com>2012-08-20 01:30:38 -0700
commite643b8fad03c2cf96fc4c03acddc9aadba41dbe3 (patch)
tree51fc6d45449f4820182bdfbeb71fded0bb3b7875 /vapi/gstreamer-net-1.0.vapi
parentf1dc5a4f1285d0563bd7e50b730ec2e32ad1115f (diff)
downloadvala-e643b8fad03c2cf96fc4c03acddc9aadba41dbe3.tar.gz
Add gstreamer-1.0 core bindings.
Diffstat (limited to 'vapi/gstreamer-net-1.0.vapi')
-rw-r--r--vapi/gstreamer-net-1.0.vapi57
1 files changed, 57 insertions, 0 deletions
diff --git a/vapi/gstreamer-net-1.0.vapi b/vapi/gstreamer-net-1.0.vapi
new file mode 100644
index 000000000..fe3e93c10
--- /dev/null
+++ b/vapi/gstreamer-net-1.0.vapi
@@ -0,0 +1,57 @@
+/* gstreamer-net-1.0.vapi generated by vapigen, do not modify. */
+
+[CCode (cprefix = "Gst", gir_namespace = "GstNet", gir_version = "1.0", lower_case_cprefix = "gst_")]
+namespace Gst {
+ namespace Net {
+ [CCode (cheader_filename = "gst/net/gstnet.h", type_id = "gst_net_client_clock_get_type ()")]
+ [GIR (name = "NetClientClock")]
+ public class ClientClock : Gst.SystemClock {
+ [CCode (has_construct_function = false, type = "GstClock*")]
+ public ClientClock (string name, string remote_address, int remote_port, Gst.ClockTime base_time);
+ [NoAccessorMethod]
+ public string address { owned get; set; }
+ [NoAccessorMethod]
+ public int port { get; set; }
+ }
+ [CCode (cheader_filename = "gst/net/gstnet.h", copy_function = "g_boxed_copy", free_function = "g_boxed_free", type_id = "gst_net_time_packet_get_type ()")]
+ [Compact]
+ [GIR (name = "NetTimePacket")]
+ public class TimePacket {
+ public Gst.ClockTime local_time;
+ public Gst.ClockTime remote_time;
+ [CCode (cname = "GST_NET_TIME_PACKET_SIZE")]
+ public const int SIZE;
+ [CCode (has_construct_function = false)]
+ public TimePacket ([CCode (array_length = false)] uint8[] buffer);
+ public Gst.Net.TimePacket copy ();
+ public void free ();
+ public static Gst.Net.TimePacket receive (GLib.Socket socket, out GLib.SocketAddress src_address) throws GLib.Error;
+ public bool send (GLib.Socket socket, GLib.SocketAddress dest_address) throws GLib.Error;
+ public uint8 serialize ();
+ }
+ [CCode (cheader_filename = "gst/net/gstnet.h", type_id = "gst_net_time_provider_get_type ()")]
+ [GIR (name = "NetTimeProvider")]
+ public class TimeProvider : Gst.Object {
+ [CCode (has_construct_function = false)]
+ public TimeProvider (Gst.Clock clock, string address, int port);
+ [NoAccessorMethod]
+ public bool active { get; set; }
+ [NoAccessorMethod]
+ public string address { owned get; set; }
+ [NoAccessorMethod]
+ public Gst.Clock clock { owned get; set; }
+ [NoAccessorMethod]
+ public int port { get; set; }
+ }
+ [CCode (cheader_filename = "gst/net/gstnet.h", has_type_id = false)]
+ [GIR (name = "NetAddressMeta")]
+ public struct AddressMeta {
+ public Gst.Meta meta;
+ public weak GLib.SocketAddress addr;
+ }
+ [CCode (cheader_filename = "gst/net/gstnet.h")]
+ public static GLib.Type address_meta_api_get_type ();
+ [CCode (cheader_filename = "gst/net/gstnet.h")]
+ public static Gst.MetaInfo address_meta_get_info ();
+ }
+}