1 /* gstreamer-net-0.10.vapi generated by vapigen, do not modify. */
3 [CCode (cprefix = "Gst", lower_case_cprefix = "gst_")]
5 [CCode (cheader_filename = "gst/net/gstnet.h")]
6 public class NetClientClock : Gst.SystemClock {
7 [CCode (array_length = false)]
8 public weak int[] control_sock;
9 public Gst.ClockTime current_timeout;
10 public void* servaddr;
12 public weak GLib.Thread thread;
13 [CCode (type = "GstClock*", has_construct_function = false)]
14 public NetClientClock (string name, string remote_address, int remote_port, Gst.ClockTime base_time);
16 public string address { owned get; set; }
18 public int port { get; set; }
21 [CCode (cheader_filename = "gst/net/gstnet.h")]
22 public class NetTimePacket {
23 public Gst.ClockTime local_time;
24 public Gst.ClockTime remote_time;
25 [CCode (has_construct_function = false)]
26 public NetTimePacket (uchar buffer);
27 public static unowned Gst.NetTimePacket receive (int fd, void* addr, uint32 len);
28 public int send (int fd, void* addr, uint32 len);
29 public uchar serialize ();
31 [CCode (cheader_filename = "gst/net/gstnet.h")]
32 public class NetTimeProvider : Gst.Object {
33 [CCode (array_length = false)]
34 public weak int[] control_sock;
36 public weak GLib.Thread thread;
37 [CCode (has_construct_function = false)]
38 public NetTimeProvider (Gst.Clock clock, string? address, int port);
40 public bool active { get; set; }
42 public string address { owned get; set; }
44 public Gst.Clock clock { owned get; set; }
46 public int port { get; set; }
48 [CCode (cheader_filename = "gst/net/gstnet.h")]
49 public const int NET_TIME_PACKET_SIZE;