1 /* gstreamer-sdp-0.10.vapi generated by vapigen, do not modify. */
3 [CCode (cprefix = "Gst", lower_case_cprefix = "gst_")]
6 [CCode (cheader_filename = "gst/sdp/gstsdpmessage.h")]
7 public class SDPAttribute {
8 public weak string key;
9 public weak string value;
12 [CCode (cheader_filename = "gst/sdp/gstsdpmessage.h")]
13 public class SDPBandwidth {
14 public uint bandwidth;
15 public weak string bwtype;
18 [CCode (cheader_filename = "gst/sdp/gstsdpmessage.h")]
19 public class SDPConnection {
20 public uint addr_number;
21 public weak string address;
22 public weak string addrtype;
23 public weak string nettype;
27 [CCode (cheader_filename = "gst/sdp/gstsdpmessage.h")]
29 public weak string data;
30 public weak string type;
33 [CCode (cheader_filename = "gst/sdp/gstsdpmessage.h")]
34 public class SDPMedia {
35 public weak GLib.Array attributes;
36 public weak GLib.Array bandwidths;
37 public weak GLib.Array connections;
38 public weak GLib.Array fmts;
39 public weak string information;
40 public weak Gst.SDPKey key;
41 public weak string media;
42 public uint num_ports;
44 public weak string proto;
45 [CCode (type = "GstSDPResult", has_construct_function = false)]
46 public SDPMedia (out unowned Gst.SDPMedia media);
47 public Gst.SDPResult add_attribute (string key, string value);
48 public Gst.SDPResult add_bandwidth (string bwtype, uint bandwidth);
49 public Gst.SDPResult add_connection (string nettype, string addrtype, string address, uint ttl, uint addr_number);
50 public Gst.SDPResult add_format (string format);
51 public unowned string as_text ();
52 public uint attributes_len ();
53 public uint bandwidths_len ();
54 public uint connections_len ();
55 public uint formats_len ();
56 public unowned Gst.SDPAttribute get_attribute (uint idx);
57 public unowned string get_attribute_val (string key);
58 public unowned string get_attribute_val_n (string key, uint nth);
59 public unowned Gst.SDPBandwidth get_bandwidth (uint idx);
60 public unowned Gst.SDPConnection get_connection (uint idx);
61 public unowned string get_format (uint idx);
62 public unowned string get_information ();
63 public unowned Gst.SDPKey get_key ();
64 public unowned string get_media ();
65 public uint get_num_ports ();
66 public uint get_port ();
67 public unowned string get_proto ();
68 public Gst.SDPResult init ();
69 public Gst.SDPResult set_information (string information);
70 public Gst.SDPResult set_key (string type, string data);
71 public Gst.SDPResult set_media (string med);
72 public Gst.SDPResult set_port_info (uint port, uint num_ports);
73 public Gst.SDPResult set_proto (string proto);
74 public Gst.SDPResult uninit ();
77 [CCode (cheader_filename = "gst/sdp/gstsdpmessage.h")]
78 public class SDPMessage {
79 public weak GLib.Array attributes;
80 public weak GLib.Array bandwidths;
81 public weak Gst.SDPConnection connection;
82 public weak GLib.Array emails;
83 public weak string information;
84 public weak Gst.SDPKey key;
85 public weak GLib.Array medias;
86 public weak Gst.SDPOrigin origin;
87 public weak GLib.Array phones;
88 public weak string session_name;
89 public weak GLib.Array times;
90 public weak string uri;
91 public weak string version;
92 public weak GLib.Array zones;
93 [CCode (type = "GstSDPResult", has_construct_function = false)]
94 public SDPMessage (out unowned Gst.SDPMessage msg);
95 public Gst.SDPResult add_attribute (string key, string value);
96 public Gst.SDPResult add_bandwidth (string bwtype, uint bandwidth);
97 public Gst.SDPResult add_email (string email);
98 public Gst.SDPResult add_media (Gst.SDPMedia media);
99 public Gst.SDPResult add_phone (string phone);
100 public Gst.SDPResult add_time (string start, string stop, string repeat);
101 public Gst.SDPResult add_zone (string adj_time, string typed_time);
102 public unowned string as_text ();
103 public uint attributes_len ();
104 public uint bandwidths_len ();
105 public Gst.SDPResult dump ();
106 public uint emails_len ();
107 public unowned Gst.SDPAttribute get_attribute (uint idx);
108 public unowned string get_attribute_val (string key);
109 public unowned string get_attribute_val_n (string key, uint nth);
110 public unowned Gst.SDPBandwidth get_bandwidth (uint idx);
111 public unowned Gst.SDPConnection get_connection ();
112 public unowned string get_email (uint idx);
113 public unowned string get_information ();
114 public unowned Gst.SDPKey get_key ();
115 public unowned Gst.SDPMedia get_media (uint idx);
116 public unowned Gst.SDPOrigin get_origin ();
117 public unowned string get_phone (uint idx);
118 public unowned string get_session_name ();
119 public unowned Gst.SDPTime get_time (uint idx);
120 public unowned string get_uri ();
121 public unowned string get_version ();
122 public unowned Gst.SDPZone get_zone (uint idx);
123 public Gst.SDPResult init ();
124 public uint medias_len ();
125 public static Gst.SDPResult parse_buffer (uchar data, uint size, Gst.SDPMessage msg);
126 public uint phones_len ();
127 public Gst.SDPResult set_connection (string nettype, string addrtype, string address, uint ttl, uint addr_number);
128 public Gst.SDPResult set_information (string information);
129 public Gst.SDPResult set_key (string type, string data);
130 public Gst.SDPResult set_origin (string username, string sess_id, string sess_version, string nettype, string addrtype, string addr);
131 public Gst.SDPResult set_session_name (string session_name);
132 public Gst.SDPResult set_uri (string uri);
133 public Gst.SDPResult set_version (string version);
134 public uint times_len ();
135 public Gst.SDPResult uninit ();
136 public uint zones_len ();
139 [CCode (cheader_filename = "gst/sdp/gstsdpmessage.h")]
140 public class SDPOrigin {
141 public weak string addr;
142 public weak string addrtype;
143 public weak string nettype;
144 public weak string sess_id;
145 public weak string sess_version;
146 public weak string username;
149 [CCode (cheader_filename = "gst/sdp/gstsdpmessage.h")]
150 public class SDPTime {
151 public weak GLib.Array repeat;
152 public weak string start;
153 public weak string stop;
156 [CCode (cheader_filename = "gst/sdp/gstsdpmessage.h")]
157 public class SDPZone {
158 public weak string time;
159 public weak string typed_time;
161 [CCode (cprefix = "GST_SDP_", has_type_id = "0", cheader_filename = "gst/sdp/gstsdp.h")]
162 public enum SDPResult {
166 [CCode (cheader_filename = "gst/sdp/gstsdpmessage.h")]
167 public const string SDP_BWTYPE_AS;
168 [CCode (cheader_filename = "gst/sdp/gstsdpmessage.h")]
169 public const string SDP_BWTYPE_CT;
170 [CCode (cheader_filename = "gst/sdp/gstsdpmessage.h")]
171 public const string SDP_BWTYPE_EXT_PREFIX;
172 [CCode (cheader_filename = "gst/sdp/gstsdpmessage.h")]
173 public const string SDP_BWTYPE_RR;
174 [CCode (cheader_filename = "gst/sdp/gstsdpmessage.h")]
175 public const string SDP_BWTYPE_RS;