Release 0.41.92
[vala-gnome.git] / vapi / gstreamer-sdp-1.0.vapi
blob30f5e0da70c7577686071439e5fef2cb7a91bf9c
1 /* gstreamer-sdp-1.0.vapi generated by vapigen, do not modify. */
3 [CCode (cprefix = "Gst", gir_namespace = "GstSdp", gir_version = "1.0", lower_case_cprefix = "gst_")]
4 namespace Gst {
5         namespace SDP {
6                 [CCode (cheader_filename = "gst/sdp/sdp.h", cname = "GstMIKEYDecryptInfo", has_type_id = false)]
7                 [Compact]
8                 [GIR (name = "MIKEYDecryptInfo")]
9                 public class MIKEYDecryptInfo {
10                 }
11                 [CCode (cheader_filename = "gst/sdp/sdp.h", cname = "GstMIKEYEncryptInfo", has_type_id = false)]
12                 [Compact]
13                 [GIR (name = "MIKEYEncryptInfo")]
14                 public class MIKEYEncryptInfo {
15                 }
16                 [CCode (cheader_filename = "gst/sdp/sdp.h", cname = "GstMIKEYMessage", copy_function = "g_boxed_copy", free_function = "g_boxed_free", lower_case_cprefix = "gst_mikey_message_", type_id = "gst_mikey_message_get_type ()")]
17                 [Compact]
18                 [GIR (name = "MIKEYMessage")]
19                 public class MIKEYMessage : Gst.MiniObject {
20                         public uint32 CSB_id;
21                         public bool V;
22                         public weak GLib.Array<void*> map_info;
23                         public Gst.SDP.MIKEYMapType map_type;
24                         public weak GLib.Array<void*> payloads;
25                         public Gst.SDP.MIKEYPRFFunc prf_func;
26                         public Gst.SDP.MIKEYType type;
27                         public uint8 version;
28                         [CCode (has_construct_function = false)]
29                         [Version (since = "1.4")]
30                         public MIKEYMessage ();
31                         [Version (since = "1.4")]
32                         public bool add_cs_srtp (uint8 policy, uint32 ssrc, uint32 roc);
33                         [Version (since = "1.4")]
34                         public bool add_payload (owned Gst.SDP.MIKEYPayload payload);
35                         [Version (since = "1.4")]
36                         public bool add_pke (Gst.SDP.MIKEYCacheType C, [CCode (array_length_cname = "data_len", array_length_pos = 1.5, array_length_type = "guint16")] uint8[] data);
37                         [Version (since = "1.4")]
38                         public bool add_rand ([CCode (array_length_cname = "len", array_length_pos = 0.5, array_length_type = "guint8")] uint8[] rand);
39                         [Version (since = "1.4")]
40                         public bool add_rand_len (uint8 len);
41                         [Version (since = "1.4")]
42                         public bool add_t (Gst.SDP.MIKEYTSType type, [CCode (array_length = false)] uint8[] ts_value);
43                         [Version (since = "1.4")]
44                         public bool add_t_now_ntp_utc ();
45                         [Version (since = "1.8")]
46                         public string base64_encode ();
47                         [Version (since = "1.4")]
48                         public unowned Gst.SDP.MIKEYPayload find_payload (Gst.SDP.MIKEYPayloadType type, uint nth);
49                         [CCode (has_construct_function = false)]
50                         [Version (since = "1.4")]
51                         public MIKEYMessage.from_bytes (GLib.Bytes bytes, Gst.SDP.MIKEYDecryptInfo info) throws GLib.Error;
52                         [CCode (has_construct_function = false)]
53                         [Version (since = "1.8")]
54                         public MIKEYMessage.from_caps (Gst.Caps caps);
55                         [CCode (has_construct_function = false)]
56                         [Version (since = "1.4")]
57                         public MIKEYMessage.from_data ([CCode (array_length_cname = "size", array_length_pos = 1.5, array_length_type = "gsize")] uint8[] data, Gst.SDP.MIKEYDecryptInfo info) throws GLib.Error;
58                         [Version (since = "1.4")]
59                         public unowned Gst.SDP.MIKEYMapSRTP? get_cs_srtp (uint idx);
60                         [Version (since = "1.4")]
61                         public uint get_n_cs ();
62                         [Version (since = "1.4")]
63                         public uint get_n_payloads ();
64                         [Version (since = "1.4")]
65                         public unowned Gst.SDP.MIKEYPayload get_payload (uint idx);
66                         [Version (since = "1.4")]
67                         public bool insert_cs_srtp (int idx, Gst.SDP.MIKEYMapSRTP map);
68                         [Version (since = "1.4")]
69                         public bool insert_payload (uint idx, owned Gst.SDP.MIKEYPayload payload);
70                         [Version (since = "1.4")]
71                         public bool remove_cs_srtp (int idx);
72                         [Version (since = "1.4")]
73                         public bool remove_payload (uint idx);
74                         [Version (since = "1.4")]
75                         public bool replace_cs_srtp (int idx, Gst.SDP.MIKEYMapSRTP map);
76                         [Version (since = "1.4")]
77                         public bool replace_payload (uint idx, owned Gst.SDP.MIKEYPayload payload);
78                         [Version (since = "1.4")]
79                         public bool set_info (uint8 version, Gst.SDP.MIKEYType type, bool V, Gst.SDP.MIKEYPRFFunc prf_func, uint32 CSB_id, Gst.SDP.MIKEYMapType map_type);
80                         [Version (since = "1.4")]
81                         public GLib.Bytes to_bytes (Gst.SDP.MIKEYEncryptInfo info) throws GLib.Error;
82                         [Version (since = "1.8.1")]
83                         public bool to_caps (Gst.Caps caps);
84                 }
85                 [CCode (cheader_filename = "gst/sdp/sdp.h", cname = "GstMIKEYPayload", copy_function = "g_boxed_copy", free_function = "g_boxed_free", lower_case_cprefix = "gst_mikey_payload_", type_id = "gst_mikey_payload_get_type ()")]
86                 [Compact]
87                 [GIR (name = "MIKEYPayload")]
88                 public class MIKEYPayload : Gst.MiniObject {
89                         public uint len;
90                         public Gst.SDP.MIKEYPayloadType type;
91                         [CCode (has_construct_function = false)]
92                         [Version (since = "1.4")]
93                         public MIKEYPayload (Gst.SDP.MIKEYPayloadType type);
94                         [Version (since = "1.4")]
95                         public bool kemac_add_sub (owned Gst.SDP.MIKEYPayload newpay);
96                         [Version (since = "1.4")]
97                         public uint kemac_get_n_sub ();
98                         [Version (since = "1.4")]
99                         public unowned Gst.SDP.MIKEYPayload kemac_get_sub (uint idx);
100                         [Version (since = "1.4")]
101                         public bool kemac_remove_sub (uint idx);
102                         [Version (since = "1.4")]
103                         public bool kemac_set (Gst.SDP.MIKEYEncAlg enc_alg, Gst.SDP.MIKEYMacAlg mac_alg);
104                         [Version (since = "1.4")]
105                         public bool key_data_set_interval (uint8 vf_len, [CCode (array_length_cname = "vt_len", array_length_pos = 1.66667, array_length_type = "guint8")] uint8[] vt_data);
106                         [Version (since = "1.4")]
107                         public bool key_data_set_key (Gst.SDP.MIKEYKeyDataType key_type, [CCode (array_length_cname = "key_len", array_length_pos = 1.5, array_length_type = "guint16")] uint8[] key_data);
108                         [Version (since = "1.4")]
109                         public bool key_data_set_salt ([CCode (array_length_cname = "salt_len", array_length_pos = 0.5, array_length_type = "guint16")] uint8[]? salt_data);
110                         [Version (since = "1.4")]
111                         public bool key_data_set_spi ([CCode (array_length_cname = "spi_len", array_length_pos = 0.5, array_length_type = "guint8")] uint8[] spi_data);
112                         [Version (since = "1.4")]
113                         public bool pke_set (Gst.SDP.MIKEYCacheType C, [CCode (array_length_cname = "data_len", array_length_pos = 1.5, array_length_type = "guint16")] uint8[] data);
114                         [Version (since = "1.4")]
115                         public bool rand_set ([CCode (array_length_cname = "len", array_length_pos = 0.5, array_length_type = "guint8")] uint8[] rand);
116                         [Version (since = "1.4")]
117                         public bool sp_add_param (uint8 type, [CCode (array_length_cname = "len", array_length_pos = 1.5, array_length_type = "guint8")] uint8[] val);
118                         [Version (since = "1.4")]
119                         public uint sp_get_n_params ();
120                         [Version (since = "1.4")]
121                         public unowned Gst.SDP.MIKEYPayloadSPParam? sp_get_param (uint idx);
122                         [Version (since = "1.4")]
123                         public bool sp_remove_param (uint idx);
124                         [Version (since = "1.4")]
125                         public bool sp_set (uint policy, Gst.SDP.MIKEYSecProto proto);
126                         [Version (since = "1.4")]
127                         public bool t_set (Gst.SDP.MIKEYTSType type, [CCode (array_length = false)] uint8[] ts_value);
128                 }
129                 [CCode (cheader_filename = "gst/sdp/sdp.h", cname = "GstMIKEYPayloadKEMAC", has_type_id = false)]
130                 [Compact]
131                 [GIR (name = "MIKEYPayloadKEMAC")]
132                 public class MIKEYPayloadKEMAC : Gst.SDP.MIKEYPayload {
133                         public Gst.SDP.MIKEYEncAlg enc_alg;
134                         public Gst.SDP.MIKEYMacAlg mac_alg;
135                         public weak GLib.Array<void*> subpayloads;
136                 }
137                 [CCode (cheader_filename = "gst/sdp/sdp.h", cname = "GstMIKEYPayloadKeyData", has_type_id = false)]
138                 [Compact]
139                 [GIR (name = "MIKEYPayloadKeyData")]
140                 public class MIKEYPayloadKeyData : Gst.SDP.MIKEYPayload {
141                         public uint8 key_data;
142                         public uint16 key_len;
143                         public Gst.SDP.MIKEYKeyDataType key_type;
144                         [CCode (array_length = false)]
145                         public weak uint8 kv_data[2];
146                         [CCode (array_length = false)]
147                         public weak uint8 kv_len[2];
148                         public Gst.SDP.MIKEYKVType kv_type;
149                         public uint8 salt_data;
150                         public uint16 salt_len;
151                 }
152                 [CCode (cheader_filename = "gst/sdp/sdp.h", cname = "GstMIKEYPayloadPKE", has_type_id = false)]
153                 [Compact]
154                 [GIR (name = "MIKEYPayloadPKE")]
155                 public class MIKEYPayloadPKE : Gst.SDP.MIKEYPayload {
156                         public Gst.SDP.MIKEYCacheType C;
157                         public uint8 data;
158                         public uint16 data_len;
159                 }
160                 [CCode (cheader_filename = "gst/sdp/sdp.h", cname = "GstMIKEYPayloadRAND", has_type_id = false)]
161                 [Compact]
162                 [GIR (name = "MIKEYPayloadRAND")]
163                 public class MIKEYPayloadRAND : Gst.SDP.MIKEYPayload {
164                         public uint8 len;
165                         public uint8 rand;
166                 }
167                 [CCode (cheader_filename = "gst/sdp/sdp.h", cname = "GstMIKEYPayloadSP", has_type_id = false)]
168                 [Compact]
169                 [GIR (name = "MIKEYPayloadSP")]
170                 public class MIKEYPayloadSP : Gst.SDP.MIKEYPayload {
171                         public weak GLib.Array<void*> @params;
172                         public uint policy;
173                         public Gst.SDP.MIKEYSecProto proto;
174                 }
175                 [CCode (cheader_filename = "gst/sdp/sdp.h", cname = "GstMIKEYPayloadT", has_type_id = false)]
176                 [Compact]
177                 [GIR (name = "MIKEYPayloadT")]
178                 public class MIKEYPayloadT : Gst.SDP.MIKEYPayload {
179                         public uint8 ts_value;
180                         public Gst.SDP.MIKEYTSType type;
181                 }
182                 [CCode (cheader_filename = "gst/sdp/sdp.h", copy_function = "g_boxed_copy", free_function = "g_boxed_free", type_id = "gst_sdp_message_get_type ()")]
183                 [Compact]
184                 [GIR (name = "SDPMessage")]
185                 public class Message {
186                         public weak GLib.Array<void*> attributes;
187                         public weak GLib.Array<void*> bandwidths;
188                         public Gst.SDP.Connection connection;
189                         public weak GLib.Array<void*> emails;
190                         public weak string information;
191                         public Gst.SDP.Key key;
192                         public weak GLib.Array<void*> medias;
193                         public Gst.SDP.Origin origin;
194                         public weak GLib.Array<void*> phones;
195                         public weak string session_name;
196                         public weak GLib.Array<void*> times;
197                         public weak string uri;
198                         public weak string version;
199                         public weak GLib.Array<void*> zones;
200                         public Gst.SDP.Result add_attribute (string key, string? value);
201                         public Gst.SDP.Result add_bandwidth (string bwtype, uint bandwidth);
202                         public Gst.SDP.Result add_email (string email);
203                         public Gst.SDP.Result add_media (Gst.SDP.Media media);
204                         public Gst.SDP.Result add_phone (string phone);
205                         public Gst.SDP.Result add_time (string start, string stop, [CCode (array_length = false, array_null_terminated = true)] string[] repeat);
206                         public Gst.SDP.Result add_zone (string adj_time, string typed_time);
207                         public string as_text ();
208                         public uint attributes_len ();
209                         [Version (since = "1.8")]
210                         public Gst.SDP.Result attributes_to_caps (Gst.Caps caps);
211                         public uint bandwidths_len ();
212                         [Version (since = "1.2")]
213                         public Gst.SDP.Result copy (out Gst.SDP.Message copy);
214                         public Gst.SDP.Result dump ();
215                         public uint emails_len ();
216                         public Gst.SDP.Result free ();
217                         public unowned Gst.SDP.Attribute? get_attribute (uint idx);
218                         public unowned string get_attribute_val (string key);
219                         public unowned string get_attribute_val_n (string key, uint nth);
220                         public unowned Gst.SDP.Bandwidth? get_bandwidth (uint idx);
221                         public unowned Gst.SDP.Connection? get_connection ();
222                         public unowned string get_email (uint idx);
223                         public unowned string get_information ();
224                         public unowned Gst.SDP.Key? get_key ();
225                         public unowned Gst.SDP.Media? get_media (uint idx);
226                         public unowned Gst.SDP.Origin? get_origin ();
227                         public unowned string get_phone (uint idx);
228                         public unowned string get_session_name ();
229                         public unowned Gst.SDP.Time? get_time (uint idx);
230                         public unowned string get_uri ();
231                         public unowned string get_version ();
232                         public unowned Gst.SDP.Zone? get_zone (uint idx);
233                         public Gst.SDP.Result init ();
234                         [Version (since = "1.2")]
235                         public Gst.SDP.Result insert_attribute (int idx, Gst.SDP.Attribute attr);
236                         [Version (since = "1.2")]
237                         public Gst.SDP.Result insert_bandwidth (int idx, Gst.SDP.Bandwidth bw);
238                         [Version (since = "1.2")]
239                         public Gst.SDP.Result insert_email (int idx, string email);
240                         [Version (since = "1.2")]
241                         public Gst.SDP.Result insert_phone (int idx, string phone);
242                         [Version (since = "1.2")]
243                         public Gst.SDP.Result insert_time (int idx, Gst.SDP.Time t);
244                         [Version (since = "1.2")]
245                         public Gst.SDP.Result insert_zone (int idx, Gst.SDP.Zone zone);
246                         public uint medias_len ();
247                         [Version (since = "1.8.1")]
248                         public Gst.SDP.Result parse_keymgmt (out Gst.SDP.MIKEYMessage mikey);
249                         public uint phones_len ();
250                         [Version (since = "1.2")]
251                         public Gst.SDP.Result remove_attribute (uint idx);
252                         [Version (since = "1.2")]
253                         public Gst.SDP.Result remove_bandwidth (uint idx);
254                         [Version (since = "1.2")]
255                         public Gst.SDP.Result remove_email (uint idx);
256                         [Version (since = "1.2")]
257                         public Gst.SDP.Result remove_phone (uint idx);
258                         [Version (since = "1.2")]
259                         public Gst.SDP.Result remove_time (uint idx);
260                         [Version (since = "1.2")]
261                         public Gst.SDP.Result remove_zone (uint idx);
262                         [Version (since = "1.2")]
263                         public Gst.SDP.Result replace_attribute (uint idx, Gst.SDP.Attribute attr);
264                         [Version (since = "1.2")]
265                         public Gst.SDP.Result replace_bandwidth (uint idx, Gst.SDP.Bandwidth bw);
266                         [Version (since = "1.2")]
267                         public Gst.SDP.Result replace_email (uint idx, string email);
268                         [Version (since = "1.2")]
269                         public Gst.SDP.Result replace_phone (uint idx, string phone);
270                         [Version (since = "1.2")]
271                         public Gst.SDP.Result replace_time (uint idx, Gst.SDP.Time t);
272                         [Version (since = "1.2")]
273                         public Gst.SDP.Result replace_zone (uint idx, Gst.SDP.Zone zone);
274                         public Gst.SDP.Result set_connection (string nettype, string addrtype, string address, uint ttl, uint addr_number);
275                         public Gst.SDP.Result set_information (string information);
276                         public Gst.SDP.Result set_key (string type, string data);
277                         public Gst.SDP.Result set_origin (string username, string sess_id, string sess_version, string nettype, string addrtype, string addr);
278                         public Gst.SDP.Result set_session_name (string session_name);
279                         public Gst.SDP.Result set_uri (string uri);
280                         public Gst.SDP.Result set_version (string version);
281                         public uint times_len ();
282                         public Gst.SDP.Result uninit ();
283                         public uint zones_len ();
284                 }
285                 [CCode (cheader_filename = "gst/sdp/sdp.h", has_type_id = false)]
286                 [GIR (name = "SDPAttribute")]
287                 public struct Attribute {
288                         public weak string key;
289                         public weak string value;
290                         [Version (since = "1.2")]
291                         public Gst.SDP.Result clear ();
292                         [Version (since = "1.2")]
293                         public Gst.SDP.Result @set (string key, string? value);
294                 }
295                 [CCode (cheader_filename = "gst/sdp/sdp.h", has_type_id = false)]
296                 [GIR (name = "SDPBandwidth")]
297                 public struct Bandwidth {
298                         public weak string bwtype;
299                         public uint bandwidth;
300                         [Version (since = "1.2")]
301                         public Gst.SDP.Result clear ();
302                         [Version (since = "1.2")]
303                         public Gst.SDP.Result @set (string bwtype, uint bandwidth);
304                 }
305                 [CCode (cheader_filename = "gst/sdp/sdp.h", has_type_id = false)]
306                 [GIR (name = "SDPConnection")]
307                 public struct Connection {
308                         public weak string nettype;
309                         public weak string addrtype;
310                         public weak string address;
311                         public uint ttl;
312                         public uint addr_number;
313                         [Version (since = "1.2")]
314                         public Gst.SDP.Result clear ();
315                         [Version (since = "1.2")]
316                         public Gst.SDP.Result @set (string nettype, string addrtype, string address, uint ttl, uint addr_number);
317                 }
318                 [CCode (cheader_filename = "gst/sdp/sdp.h", has_type_id = false)]
319                 [GIR (name = "SDPKey")]
320                 public struct Key {
321                         public weak string type;
322                         public weak string data;
323                 }
324                 [CCode (cheader_filename = "gst/sdp/sdp.h", cname = "GstMIKEYMapSRTP", has_type_id = false)]
325                 [GIR (name = "MIKEYMapSRTP")]
326                 public struct MIKEYMapSRTP {
327                         public uint8 policy;
328                         public uint32 ssrc;
329                         public uint32 roc;
330                 }
331                 [CCode (cheader_filename = "gst/sdp/sdp.h", cname = "GstMIKEYPayloadSPParam", has_type_id = false)]
332                 [GIR (name = "MIKEYPayloadSPParam")]
333                 public struct MIKEYPayloadSPParam {
334                         public uint8 type;
335                         public uint8 len;
336                         public uint8 val;
337                 }
338                 [CCode (cheader_filename = "gst/sdp/sdp.h", has_type_id = false)]
339                 [GIR (name = "SDPMedia")]
340                 public struct Media {
341                         public weak string media;
342                         public uint port;
343                         public uint num_ports;
344                         public weak string proto;
345                         public weak GLib.Array<void*> fmts;
346                         public weak string information;
347                         public weak GLib.Array<void*> connections;
348                         public weak GLib.Array<void*> bandwidths;
349                         public Gst.SDP.Key key;
350                         public weak GLib.Array<void*> attributes;
351                         public Gst.SDP.Result add_attribute (string key, string? value);
352                         public Gst.SDP.Result add_bandwidth (string bwtype, uint bandwidth);
353                         public Gst.SDP.Result add_connection (string nettype, string addrtype, string address, uint ttl, uint addr_number);
354                         public Gst.SDP.Result add_format (string format);
355                         public string as_text ();
356                         public uint attributes_len ();
357                         [Version (since = "1.8")]
358                         public Gst.SDP.Result attributes_to_caps (Gst.Caps caps);
359                         public uint bandwidths_len ();
360                         public uint connections_len ();
361                         [Version (since = "1.2")]
362                         public Gst.SDP.Result copy (out Gst.SDP.Media copy);
363                         public uint formats_len ();
364                         public Gst.SDP.Result free ();
365                         public unowned Gst.SDP.Attribute? get_attribute (uint idx);
366                         public unowned string get_attribute_val (string key);
367                         public unowned string get_attribute_val_n (string key, uint nth);
368                         public unowned Gst.SDP.Bandwidth? get_bandwidth (uint idx);
369                         [Version (since = "1.8")]
370                         public Gst.Caps get_caps_from_media (int pt);
371                         public unowned Gst.SDP.Connection? get_connection (uint idx);
372                         public unowned string get_format (uint idx);
373                         public unowned string get_information ();
374                         public unowned Gst.SDP.Key? get_key ();
375                         public unowned string get_media ();
376                         public uint get_num_ports ();
377                         public uint get_port ();
378                         public unowned string get_proto ();
379                         public Gst.SDP.Result init ();
380                         [Version (since = "1.2")]
381                         public Gst.SDP.Result insert_attribute (int idx, Gst.SDP.Attribute attr);
382                         [Version (since = "1.2")]
383                         public Gst.SDP.Result insert_bandwidth (int idx, Gst.SDP.Bandwidth bw);
384                         [Version (since = "1.2")]
385                         public Gst.SDP.Result insert_connection (int idx, Gst.SDP.Connection conn);
386                         [Version (since = "1.2")]
387                         public Gst.SDP.Result insert_format (int idx, string format);
388                         [Version (since = "1.8.1")]
389                         public Gst.SDP.Result parse_keymgmt (out Gst.SDP.MIKEYMessage mikey);
390                         [Version (since = "1.2")]
391                         public Gst.SDP.Result remove_attribute (uint idx);
392                         [Version (since = "1.2")]
393                         public Gst.SDP.Result remove_bandwidth (uint idx);
394                         [Version (since = "1.2")]
395                         public Gst.SDP.Result remove_connection (uint idx);
396                         [Version (since = "1.2")]
397                         public Gst.SDP.Result remove_format (uint idx);
398                         [Version (since = "1.2")]
399                         public Gst.SDP.Result replace_attribute (uint idx, Gst.SDP.Attribute attr);
400                         [Version (since = "1.2")]
401                         public Gst.SDP.Result replace_bandwidth (uint idx, Gst.SDP.Bandwidth bw);
402                         [Version (since = "1.2")]
403                         public Gst.SDP.Result replace_connection (uint idx, Gst.SDP.Connection conn);
404                         [Version (since = "1.2")]
405                         public Gst.SDP.Result replace_format (uint idx, string format);
406                         public Gst.SDP.Result set_information (string information);
407                         public Gst.SDP.Result set_key (string type, string data);
408                         public Gst.SDP.Result set_media (string med);
409                         public Gst.SDP.Result set_port_info (uint port, uint num_ports);
410                         public Gst.SDP.Result set_proto (string proto);
411                         public Gst.SDP.Result uninit ();
412                 }
413                 [CCode (cheader_filename = "gst/sdp/sdp.h", has_type_id = false)]
414                 [GIR (name = "SDPOrigin")]
415                 public struct Origin {
416                         public weak string username;
417                         public weak string sess_id;
418                         public weak string sess_version;
419                         public weak string nettype;
420                         public weak string addrtype;
421                         public weak string addr;
422                 }
423                 [CCode (cheader_filename = "gst/sdp/sdp.h", has_type_id = false)]
424                 [GIR (name = "SDPTime")]
425                 public struct Time {
426                         public weak string start;
427                         public weak string stop;
428                         public weak GLib.Array<void*> repeat;
429                         [Version (since = "1.2")]
430                         public Gst.SDP.Result clear ();
431                         [Version (since = "1.2")]
432                         public Gst.SDP.Result @set (string start, string stop, [CCode (array_length = false, array_null_terminated = true)] string[] repeat);
433                 }
434                 [CCode (cheader_filename = "gst/sdp/sdp.h", has_type_id = false)]
435                 [GIR (name = "SDPZone")]
436                 public struct Zone {
437                         public weak string time;
438                         public weak string typed_time;
439                         [Version (since = "1.2")]
440                         public Gst.SDP.Result clear ();
441                         [Version (since = "1.2")]
442                         public Gst.SDP.Result @set (string adj_time, string typed_time);
443                 }
444                 [CCode (cheader_filename = "gst/sdp/sdp.h", cname = "GstMIKEYCacheType", cprefix = "GST_MIKEY_CACHE_", has_type_id = false)]
445                 [GIR (name = "MIKEYCacheType")]
446                 public enum MIKEYCacheType {
447                         NONE,
448                         ALWAYS,
449                         FOR_CSB
450                 }
451                 [CCode (cheader_filename = "gst/sdp/sdp.h", cname = "GstMIKEYEncAlg", cprefix = "GST_MIKEY_ENC_", has_type_id = false)]
452                 [GIR (name = "MIKEYEncAlg")]
453                 public enum MIKEYEncAlg {
454                         NULL,
455                         AES_CM_128,
456                         AES_KW_128
457                 }
458                 [CCode (cheader_filename = "gst/sdp/sdp.h", cname = "GstMIKEYKVType", cprefix = "GST_MIKEY_KV_", has_type_id = false)]
459                 [GIR (name = "MIKEYKVType")]
460                 public enum MIKEYKVType {
461                         NULL,
462                         SPI,
463                         INTERVAL
464                 }
465                 [CCode (cheader_filename = "gst/sdp/sdp.h", cname = "GstMIKEYKeyDataType", cprefix = "GST_MIKEY_KD_", has_type_id = false)]
466                 [GIR (name = "MIKEYKeyDataType")]
467                 public enum MIKEYKeyDataType {
468                         TGK,
469                         TEK
470                 }
471                 [CCode (cheader_filename = "gst/sdp/sdp.h", cname = "GstMIKEYMacAlg", cprefix = "GST_MIKEY_MAC_", has_type_id = false)]
472                 [GIR (name = "MIKEYMacAlg")]
473                 public enum MIKEYMacAlg {
474                         NULL,
475                         HMAC_SHA_1_160
476                 }
477                 [CCode (cheader_filename = "gst/sdp/sdp.h", cname = "GstMIKEYMapType", cprefix = "GST_MIKEY_MAP_TYPE_", has_type_id = false)]
478                 [GIR (name = "MIKEYMapType")]
479                 public enum MIKEYMapType {
480                         [CCode (cname = "GST_MIKEY_MAP_TYPE_SRTP")]
481                         MIKEY_MAP_TYPE_SRTP
482                 }
483                 [CCode (cheader_filename = "gst/sdp/sdp.h", cname = "GstMIKEYPRFFunc", cprefix = "GST_MIKEY_PRF_", has_type_id = false)]
484                 [GIR (name = "MIKEYPRFFunc")]
485                 public enum MIKEYPRFFunc {
486                         [CCode (cname = "GST_MIKEY_PRF_MIKEY_1")]
487                         MIKEY_PRF_MIKEY_1
488                 }
489                 [CCode (cheader_filename = "gst/sdp/sdp.h", cname = "GstMIKEYPayloadType", cprefix = "GST_MIKEY_PT_", has_type_id = false)]
490                 [GIR (name = "MIKEYPayloadType")]
491                 public enum MIKEYPayloadType {
492                         LAST,
493                         KEMAC,
494                         PKE,
495                         DH,
496                         SIGN,
497                         T,
498                         ID,
499                         CERT,
500                         CHASH,
501                         V,
502                         SP,
503                         RAND,
504                         ERR,
505                         KEY_DATA,
506                         GEN_EXT
507                 }
508                 [CCode (cheader_filename = "gst/sdp/sdp.h", cname = "GstMIKEYSecProto", cprefix = "GST_MIKEY_SEC_PROTO_", has_type_id = false)]
509                 [GIR (name = "MIKEYSecProto")]
510                 public enum MIKEYSecProto {
511                         [CCode (cname = "GST_MIKEY_SEC_PROTO_SRTP")]
512                         MIKEY_SEC_PROTO_SRTP
513                 }
514                 [CCode (cheader_filename = "gst/sdp/sdp.h", cname = "GstMIKEYSecSRTP", cprefix = "GST_MIKEY_SP_SRTP_", has_type_id = false)]
515                 [GIR (name = "MIKEYSecSRTP")]
516                 public enum MIKEYSecSRTP {
517                         ENC_ALG,
518                         ENC_KEY_LEN,
519                         AUTH_ALG,
520                         AUTH_KEY_LEN,
521                         SALT_KEY_LEN,
522                         PRF,
523                         KEY_DERIV_RATE,
524                         SRTP_ENC,
525                         SRTCP_ENC,
526                         FEC_ORDER,
527                         SRTP_AUTH,
528                         AUTH_TAG_LEN,
529                         SRTP_PREFIX_LEN
530                 }
531                 [CCode (cheader_filename = "gst/sdp/sdp.h", cname = "GstMIKEYTSType", cprefix = "GST_MIKEY_TS_TYPE_", has_type_id = false)]
532                 [GIR (name = "MIKEYTSType")]
533                 public enum MIKEYTSType {
534                         NTP_UTC,
535                         NTP,
536                         COUNTER
537                 }
538                 [CCode (cheader_filename = "gst/sdp/sdp.h", cname = "GstMIKEYType", cprefix = "GST_MIKEY_TYPE_", has_type_id = false)]
539                 [GIR (name = "MIKEYType")]
540                 public enum MIKEYType {
541                         INVALID,
542                         PSK_INIT,
543                         PSK_VERIFY,
544                         PK_INIT,
545                         PK_VERIFY,
546                         DH_INIT,
547                         DH_RESP,
548                         ERROR
549                 }
550                 [CCode (cheader_filename = "gst/sdp/sdp.h", cprefix = "GST_SDP_", has_type_id = false)]
551                 [GIR (name = "SDPResult")]
552                 public enum Result {
553                         OK,
554                         EINVAL
555                 }
556                 [CCode (cheader_filename = "gst/sdp/sdp.h", cname = "GST_SDP_BWTYPE_AS")]
557                 public const string BWTYPE_AS;
558                 [CCode (cheader_filename = "gst/sdp/sdp.h", cname = "GST_SDP_BWTYPE_CT")]
559                 public const string BWTYPE_CT;
560                 [CCode (cheader_filename = "gst/sdp/sdp.h", cname = "GST_SDP_BWTYPE_EXT_PREFIX")]
561                 public const string BWTYPE_EXT_PREFIX;
562                 [CCode (cheader_filename = "gst/sdp/sdp.h", cname = "GST_SDP_BWTYPE_RR")]
563                 public const string BWTYPE_RR;
564                 [CCode (cheader_filename = "gst/sdp/sdp.h", cname = "GST_SDP_BWTYPE_RS")]
565                 public const string BWTYPE_RS;
566                 [CCode (cheader_filename = "gst/sdp/sdp.h", cname = "GST_SDP_BWTYPE_TIAS")]
567                 public const string BWTYPE_TIAS;
568                 [CCode (cheader_filename = "gst/sdp/sdp.h", cname = "GST_MIKEY_VERSION")]
569                 public const int MIKEY_VERSION;
570                 [CCode (cheader_filename = "gst/sdp/sdp.h")]
571                 public static bool address_is_multicast (string nettype, string addrtype, string addr);
572                 [CCode (cheader_filename = "gst/sdp/sdp.h")]
573                 [Version (since = "1.8")]
574                 public static string make_keymgmt (string uri, string base64);
575                 [CCode (cheader_filename = "gst/sdp/sdp.h")]
576                 public static Gst.SDP.Result media_new (out Gst.SDP.Media media);
577                 [CCode (cheader_filename = "gst/sdp/sdp.h")]
578                 [Version (since = "1.8")]
579                 public static Gst.SDP.Result media_set_media_from_caps (Gst.Caps caps, Gst.SDP.Media media);
580                 [CCode (cheader_filename = "gst/sdp/sdp.h")]
581                 public static string message_as_uri (string scheme, Gst.SDP.Message msg);
582                 [CCode (cheader_filename = "gst/sdp/sdp.h")]
583                 public static Gst.SDP.Result message_new (out Gst.SDP.Message msg);
584                 [CCode (cheader_filename = "gst/sdp/sdp.h")]
585                 [Version (since = "1.16")]
586                 public static Gst.SDP.Result message_new_from_text (string text, out Gst.SDP.Message msg);
587                 [CCode (cheader_filename = "gst/sdp/sdp.h")]
588                 public static Gst.SDP.Result message_parse_buffer ([CCode (array_length_cname = "size", array_length_pos = 1.5, array_length_type = "guint")] uint8[] data, Gst.SDP.Message msg);
589                 [CCode (cheader_filename = "gst/sdp/sdp.h")]
590                 public static Gst.SDP.Result message_parse_uri (string uri, Gst.SDP.Message msg);
591         }