summaryrefslogtreecommitdiff
path: root/vapi/gstreamer-rtsp-1.0.vapi
blob: 5d7ede44082674076c3895af78ea2e72056aad18 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
/* gstreamer-rtsp-1.0.vapi generated by vapigen, do not modify. */

[CCode (cprefix = "Gst", gir_namespace = "GstRtsp", gir_version = "1.0", lower_case_cprefix = "gst_")]
namespace Gst {
	namespace RTSP {
		[CCode (cheader_filename = "gst/rtsp/rtsp.h", copy_function = "g_boxed_copy", free_function = "g_boxed_free", type_id = "gst_rtsp_auth_credential_get_type ()")]
		[Compact]
		[GIR (name = "RTSPAuthCredential")]
		[Version (since = "1.12")]
		public class AuthCredential {
			public weak string authorization;
			public weak Gst.RTSP.AuthParam @params;
			public Gst.RTSP.AuthMethod scheme;
		}
		[CCode (cheader_filename = "gst/rtsp/rtsp.h", copy_function = "g_boxed_copy", free_function = "g_boxed_free", type_id = "gst_rtsp_auth_param_get_type ()")]
		[Compact]
		[GIR (name = "RTSPAuthParam")]
		[Version (since = "1.12")]
		public class AuthParam {
			public weak string name;
			public weak string value;
			public Gst.RTSP.AuthParam copy ();
			public void free ();
		}
		[CCode (cheader_filename = "gst/rtsp/rtsp.h", has_type_id = false)]
		[Compact]
		[GIR (name = "RTSPConnection")]
		public class Connection {
			public static Gst.RTSP.Result accept (GLib.Socket socket, out Gst.RTSP.Connection? conn, GLib.Cancellable? cancellable = null);
			public void clear_auth_params ();
			public Gst.RTSP.Result close ();
			[Version (deprecated = true, deprecated_since = "1.18")]
			public Gst.RTSP.Result connect (GLib.TimeVal timeout);
			[Version (since = "1.18")]
			public Gst.RTSP.Result connect_usec (int64 timeout);
			[Version (deprecated = true, deprecated_since = "1.18", since = "1.8")]
			public Gst.RTSP.Result connect_with_response (GLib.TimeVal timeout, Gst.RTSP.Message response);
			[Version (since = "1.18")]
			public Gst.RTSP.Result connect_with_response_usec (int64 timeout, Gst.RTSP.Message response);
			public static Gst.RTSP.Result create (Gst.RTSP.Url url, out Gst.RTSP.Connection conn);
			public static Gst.RTSP.Result create_from_socket (GLib.Socket socket, string ip, uint16 port, string initial_buffer, out Gst.RTSP.Connection? conn);
			public Gst.RTSP.Result do_tunnel (Gst.RTSP.Connection? conn2);
			public Gst.RTSP.Result flush (bool flush);
			public Gst.RTSP.Result free ();
			[Version (since = "1.20")]
			public bool get_ignore_x_server_reply ();
			public unowned string get_ip ();
			public unowned GLib.Socket? get_read_socket ();
			public bool get_remember_session_id ();
			[Version (since = "1.2")]
			public unowned GLib.TlsConnection get_tls () throws GLib.Error;
			[Version (since = "1.4")]
			public GLib.TlsDatabase? get_tls_database ();
			[Version (since = "1.6")]
			public GLib.TlsInteraction? get_tls_interaction ();
			[Version (since = "1.2.1")]
			public GLib.TlsCertificateFlags get_tls_validation_flags ();
			public unowned string? get_tunnelid ();
			public Gst.RTSP.Url get_url ();
			public unowned GLib.Socket? get_write_socket ();
			public bool is_tunneled ();
			[Version (deprecated = true, deprecated_since = "1.18")]
			public Gst.RTSP.Result next_timeout (GLib.TimeVal timeout);
			[Version (since = "1.18")]
			public int64 next_timeout_usec ();
			[Version (deprecated = true, deprecated_since = "1.18")]
			public Gst.RTSP.Result poll (Gst.RTSP.Event events, out Gst.RTSP.Event revents, GLib.TimeVal timeout);
			[Version (since = "1.18")]
			public Gst.RTSP.Result poll_usec (Gst.RTSP.Event events, out Gst.RTSP.Event revents, int64 timeout);
			[Version (deprecated = true, deprecated_since = "1.18")]
			public Gst.RTSP.Result read ([CCode (array_length_cname = "size", array_length_pos = 1.5, array_length_type = "guint")] uint8[] data, GLib.TimeVal timeout);
			[Version (since = "1.18")]
			public Gst.RTSP.Result read_usec ([CCode (array_length_cname = "size", array_length_pos = 1.5, array_length_type = "guint")] uint8[] data, int64 timeout);
			[Version (deprecated = true, deprecated_since = "1.18")]
			public Gst.RTSP.Result receive (out unowned Gst.RTSP.Message message, GLib.TimeVal timeout);
			[Version (since = "1.18")]
			public Gst.RTSP.Result receive_usec (out unowned Gst.RTSP.Message message, int64 timeout);
			public Gst.RTSP.Result reset_timeout ();
			[Version (deprecated = true, deprecated_since = "1.18")]
			public Gst.RTSP.Result send (Gst.RTSP.Message message, GLib.TimeVal timeout);
			[Version (deprecated = true, deprecated_since = "1.18", since = "1.16")]
			public Gst.RTSP.Result send_messages ([CCode (array_length_cname = "n_messages", array_length_pos = 1.5, array_length_type = "guint")] Gst.RTSP.Message[] messages, GLib.TimeVal timeout);
			[Version (since = "1.18")]
			public Gst.RTSP.Result send_messages_usec ([CCode (array_length_cname = "n_messages", array_length_pos = 1.5, array_length_type = "guint")] Gst.RTSP.Message[] messages, int64 timeout);
			[Version (since = "1.18")]
			public Gst.RTSP.Result send_usec (Gst.RTSP.Message message, int64 timeout);
			[Version (since = "1.14")]
			public void set_accept_certificate_func (owned Gst.RTSP.ConnectionAcceptCertificateFunc func);
			public Gst.RTSP.Result set_auth (Gst.RTSP.AuthMethod method, string user, string pass);
			public void set_auth_param (string param, string value);
			[Version (since = "1.18")]
			public void set_content_length_limit (uint limit);
			public void set_http_mode (bool enable);
			[Version (since = "1.20")]
			public void set_ignore_x_server_reply (bool ignore);
			public void set_ip (string ip);
			public Gst.RTSP.Result set_proxy (string host, uint port);
			public Gst.RTSP.Result set_qos_dscp (uint qos_dscp);
			public void set_remember_session_id (bool remember);
			[Version (since = "1.4")]
			public void set_tls_database (GLib.TlsDatabase? database);
			[Version (since = "1.6")]
			public void set_tls_interaction (GLib.TlsInteraction? interaction);
			[Version (since = "1.2.1")]
			public bool set_tls_validation_flags (GLib.TlsCertificateFlags flags);
			public void set_tunneled (bool tunneled);
			[Version (deprecated = true, deprecated_since = "1.18")]
			public Gst.RTSP.Result write ([CCode (array_length_cname = "size", array_length_pos = 1.5, array_length_type = "guint")] uint8[] data, GLib.TimeVal timeout);
			[Version (since = "1.18")]
			public Gst.RTSP.Result write_usec ([CCode (array_length_cname = "size", array_length_pos = 1.5, array_length_type = "guint")] uint8[] data, int64 timeout);
		}
		[CCode (cheader_filename = "gst/rtsp/rtsp.h", copy_function = "g_boxed_copy", free_function = "g_boxed_free", lower_case_cprefix = "gst_rtsp_msg_", type_id = "gst_rtsp_msg_get_type ()")]
		[Compact]
		[GIR (name = "RTSPMessage")]
		public class Message {
			public Gst.RTSP.MsgType type;
			[CCode (cname = "type_data.data.channel")]
			public uint8 type_data_data_channel;
			[CCode (cname = "type_data.request.method")]
			public Gst.RTSP.Method type_data_request_method;
			[CCode (cname = "type_data.request.uri")]
			public weak string type_data_request_uri;
			[CCode (cname = "type_data.request.version")]
			public Gst.RTSP.Version type_data_request_version;
			[CCode (cname = "type_data.response.code")]
			public Gst.RTSP.StatusCode type_data_response_code;
			[CCode (cname = "type_data.response.reason")]
			public weak string type_data_response_reason;
			[CCode (cname = "type_data.response.version")]
			public Gst.RTSP.Version type_data_response_version;
			[CCode (cname = "gst_rtsp_message_add_header")]
			public Gst.RTSP.Result add_header (Gst.RTSP.HeaderField field, string value);
			[CCode (cname = "gst_rtsp_message_add_header_by_name")]
			[Version (since = "1.6")]
			public Gst.RTSP.Result add_header_by_name (string header, string value);
			[CCode (cname = "gst_rtsp_message_append_headers")]
			public Gst.RTSP.Result append_headers (GLib.StringBuilder str);
			[CCode (cname = "gst_rtsp_message_copy")]
			[Version (since = "1.14")]
			public Gst.RTSP.Result copy (out Gst.RTSP.Message? copy);
			[CCode (cname = "gst_rtsp_message_dump")]
			public Gst.RTSP.Result dump ();
			[CCode (cname = "gst_rtsp_message_free")]
			public Gst.RTSP.Result free ();
			[CCode (cname = "gst_rtsp_message_get_body")]
			public Gst.RTSP.Result get_body ([CCode (array_length_cname = "size", array_length_pos = 1.1, array_length_type = "guint")] out unowned uint8[] data);
			[CCode (cname = "gst_rtsp_message_get_body_buffer")]
			[Version (since = "1.16")]
			public Gst.RTSP.Result get_body_buffer (out unowned Gst.Buffer buffer);
			[CCode (cname = "gst_rtsp_message_get_header")]
			public Gst.RTSP.Result get_header (Gst.RTSP.HeaderField field, out unowned string? value, int indx);
			[CCode (cname = "gst_rtsp_message_get_header_by_name")]
			[Version (since = "1.6")]
			public Gst.RTSP.Result get_header_by_name (string header, out unowned string? value, int index);
			[CCode (cname = "gst_rtsp_message_get_type")]
			public Gst.RTSP.MsgType get_type ();
			[CCode (cname = "gst_rtsp_message_has_body_buffer")]
			[Version (since = "1.16")]
			public bool has_body_buffer ();
			[CCode (array_length = false, array_null_terminated = true, cname = "gst_rtsp_message_parse_auth_credentials")]
			[Version (since = "1.12")]
			public Gst.RTSP.AuthCredential[] parse_auth_credentials (Gst.RTSP.HeaderField field);
			[CCode (cname = "gst_rtsp_message_parse_data")]
			public Gst.RTSP.Result parse_data (out uint8 channel);
			[CCode (cname = "gst_rtsp_message_parse_request")]
			public Gst.RTSP.Result parse_request (out Gst.RTSP.Method method, out unowned string uri, out Gst.RTSP.Version version);
			[CCode (cname = "gst_rtsp_message_parse_response")]
			public Gst.RTSP.Result parse_response (out Gst.RTSP.StatusCode code, out unowned string reason, out Gst.RTSP.Version version);
			[CCode (cname = "gst_rtsp_message_remove_header")]
			public Gst.RTSP.Result remove_header (Gst.RTSP.HeaderField field, int indx);
			[CCode (cname = "gst_rtsp_message_remove_header_by_name")]
			[Version (since = "1.6")]
			public Gst.RTSP.Result remove_header_by_name (string header, int index);
			[CCode (cname = "gst_rtsp_message_set_body")]
			public Gst.RTSP.Result set_body ([CCode (array_length_cname = "size", array_length_pos = 1.1, array_length_type = "guint")] uint8[] data);
			[CCode (cname = "gst_rtsp_message_set_body_buffer")]
			[Version (since = "1.16")]
			public Gst.RTSP.Result set_body_buffer (Gst.Buffer buffer);
			[CCode (cname = "gst_rtsp_message_steal_body")]
			public Gst.RTSP.Result steal_body ([CCode (array_length_cname = "size", array_length_pos = 1.1, array_length_type = "guint")] out uint8[] data);
			[CCode (cname = "gst_rtsp_message_steal_body_buffer")]
			[Version (since = "1.16")]
			public Gst.RTSP.Result steal_body_buffer (out Gst.Buffer buffer);
			[CCode (cname = "gst_rtsp_message_take_body")]
			public Gst.RTSP.Result take_body ([CCode (array_length_cname = "size", array_length_pos = 1.1, array_length_type = "guint")] owned uint8[] data);
			[CCode (cname = "gst_rtsp_message_take_body_buffer")]
			[Version (since = "1.16")]
			public Gst.RTSP.Result take_body_buffer (owned Gst.Buffer buffer);
			[CCode (cname = "gst_rtsp_message_take_header")]
			public Gst.RTSP.Result take_header (Gst.RTSP.HeaderField field, owned string value);
			[CCode (cname = "gst_rtsp_message_take_header_by_name")]
			[Version (since = "1.6")]
			public Gst.RTSP.Result take_header_by_name (string header, owned string value);
			[CCode (cname = "gst_rtsp_message_unset")]
			public Gst.RTSP.Result unset ();
		}
		[CCode (cheader_filename = "gst/rtsp/rtsp.h", copy_function = "g_boxed_copy", free_function = "g_boxed_free", type_id = "gst_rtsp_url_get_type ()")]
		[Compact]
		[GIR (name = "RTSPUrl")]
		public class Url {
			public weak string abspath;
			public Gst.RTSP.Family family;
			public weak string host;
			public weak string passwd;
			public uint16 port;
			public weak string query;
			public Gst.RTSP.LowerTrans transports;
			public weak string user;
			public Gst.RTSP.Url copy ();
			[CCode (array_length = false, array_null_terminated = true)]
			public string[] decode_path_components ();
			public void free ();
			public Gst.RTSP.Result get_port (out uint16 port);
			public string get_request_uri ();
			[Version (since = "1.18")]
			public string get_request_uri_with_control (string control_path);
			public static Gst.RTSP.Result parse (string urlstr, out Gst.RTSP.Url? url);
			public Gst.RTSP.Result set_port (uint16 port);
		}
		[CCode (cheader_filename = "gst/rtsp/rtsp.h", has_type_id = false)]
		[Compact]
		[GIR (name = "RTSPWatch")]
		public class Watch {
			public uint attach (GLib.MainContext? context);
			[Version (since = "1.2")]
			public void get_send_backlog (out size_t bytes, out uint messages);
			public void reset ();
			public Gst.RTSP.Result send_message (Gst.RTSP.Message message, out uint id);
			[Version (since = "1.16")]
			public Gst.RTSP.Result send_messages ([CCode (array_length_cname = "n_messages", array_length_pos = 1.5, array_length_type = "guint")] Gst.RTSP.Message[] messages, out uint id);
			[Version (since = "1.4")]
			public void set_flushing (bool flushing);
			[Version (since = "1.2")]
			public void set_send_backlog (size_t bytes, uint messages);
			public void unref ();
			[Version (deprecated = true, deprecated_since = "1.18", since = "1.4")]
			public Gst.RTSP.Result wait_backlog (GLib.TimeVal timeout);
			[Version (since = "1.18")]
			public Gst.RTSP.Result wait_backlog_usec (int64 timeout);
			public Gst.RTSP.Result write_data ([CCode (array_length_cname = "size", array_length_pos = 1.5, array_length_type = "guint")] owned uint8[] data, out uint id);
		}
		[CCode (cheader_filename = "gst/rtsp/rtsp.h", type_cname = "GstRTSPExtensionInterface", type_id = "gst_rtsp_extension_get_type ()")]
		[GIR (name = "RTSPExtension")]
		public interface Extension : GLib.Object {
			public abstract Gst.RTSP.Result after_send (Gst.RTSP.Message req, Gst.RTSP.Message resp);
			public abstract Gst.RTSP.Result before_send (Gst.RTSP.Message req);
			public abstract bool configure_stream (Gst.Caps caps);
			public abstract bool detect_server (Gst.RTSP.Message resp);
			public abstract Gst.RTSP.Result get_transports (Gst.RTSP.LowerTrans protocols, string transport);
			public abstract Gst.RTSP.Result parse_sdp (Gst.SDP.Message sdp, Gst.Structure s);
			public abstract Gst.RTSP.Result receive_request (Gst.RTSP.Message req);
			public abstract Gst.RTSP.Result setup_media (Gst.SDP.Media media);
			public abstract Gst.RTSP.Result stream_select (Gst.RTSP.Url url);
			[HasEmitter]
			public virtual signal Gst.RTSP.Result send (void* req, void* resp);
		}
		[CCode (cheader_filename = "gst/rtsp/rtsp.h", has_type_id = false)]
		[GIR (name = "RTSPRange")]
		public struct Range {
			public int min;
			public int max;
			public static bool convert_units (Gst.RTSP.TimeRange range, Gst.RTSP.RangeUnit unit);
			public static void free (Gst.RTSP.TimeRange range);
			[Version (since = "1.2")]
			public static bool get_times (Gst.RTSP.TimeRange range, out Gst.ClockTime min, out Gst.ClockTime max);
			public static Gst.RTSP.Result parse (string rangestr, out Gst.RTSP.TimeRange range);
			public static string to_string (Gst.RTSP.TimeRange range);
		}
		[CCode (cheader_filename = "gst/rtsp/rtsp.h", has_type_id = false)]
		[GIR (name = "RTSPTime")]
		public struct Time {
			public Gst.RTSP.TimeType type;
			public double seconds;
		}
		[CCode (cheader_filename = "gst/rtsp/rtsp.h", has_type_id = false)]
		[GIR (name = "RTSPTime2")]
		[Version (since = "1.2")]
		public struct Time2 {
			public double frames;
			public uint year;
			public uint month;
			public uint day;
		}
		[CCode (cheader_filename = "gst/rtsp/rtsp.h", has_type_id = false)]
		[GIR (name = "RTSPTimeRange")]
		public struct TimeRange {
			public Gst.RTSP.RangeUnit unit;
			public Gst.RTSP.Time min;
			public Gst.RTSP.Time max;
			public Gst.RTSP.Time2 min2;
			public Gst.RTSP.Time2 max2;
		}
		[CCode (cheader_filename = "gst/rtsp/rtsp.h", has_type_id = false)]
		[GIR (name = "RTSPTransport")]
		public struct Transport {
			public Gst.RTSP.TransMode trans;
			public Gst.RTSP.Profile profile;
			public Gst.RTSP.LowerTrans lower_transport;
			public weak string destination;
			public weak string source;
			public uint layers;
			public bool mode_play;
			public bool mode_record;
			public bool append;
			public Gst.RTSP.Range interleaved;
			public uint ttl;
			public Gst.RTSP.Range port;
			public Gst.RTSP.Range client_port;
			public Gst.RTSP.Range server_port;
			public uint ssrc;
			public string? as_text ();
			public Gst.RTSP.Result free ();
			public static Gst.RTSP.Result get_manager (Gst.RTSP.TransMode trans, out unowned string? manager, uint option);
			[Version (since = "1.4")]
			public Gst.RTSP.Result get_media_type (out unowned string media_type);
			[Version (deprecated = true)]
			public static Gst.RTSP.Result get_mime (Gst.RTSP.TransMode trans, out unowned string mime);
			public Gst.RTSP.Result init ();
			public static Gst.RTSP.Result @new (out Gst.RTSP.Transport transport);
			public static Gst.RTSP.Result parse (string str, out Gst.RTSP.Transport transport);
		}
		[CCode (cheader_filename = "gst/rtsp/rtsp.h", cprefix = "GST_RTSP_AUTH_", type_id = "gst_rtsp_auth_method_get_type ()")]
		[GIR (name = "RTSPAuthMethod")]
		public enum AuthMethod {
			NONE,
			BASIC,
			DIGEST
		}
		[CCode (cheader_filename = "gst/rtsp/rtsp.h", cprefix = "GST_RTSP_EV_", type_id = "gst_rtsp_event_get_type ()")]
		[Flags]
		[GIR (name = "RTSPEvent")]
		public enum Event {
			READ,
			WRITE
		}
		[CCode (cheader_filename = "gst/rtsp/rtsp.h", cprefix = "GST_RTSP_FAM_", type_id = "gst_rtsp_family_get_type ()")]
		[GIR (name = "RTSPFamily")]
		public enum Family {
			NONE,
			INET,
			INET6
		}
		[CCode (cheader_filename = "gst/rtsp/rtsp.h", cprefix = "GST_RTSP_HDR_", type_id = "gst_rtsp_header_field_get_type ()")]
		[GIR (name = "RTSPHeaderField")]
		public enum HeaderField {
			INVALID,
			ACCEPT,
			ACCEPT_ENCODING,
			ACCEPT_LANGUAGE,
			ALLOW,
			AUTHORIZATION,
			BANDWIDTH,
			BLOCKSIZE,
			CACHE_CONTROL,
			CONFERENCE,
			CONNECTION,
			CONTENT_BASE,
			CONTENT_ENCODING,
			CONTENT_LANGUAGE,
			CONTENT_LENGTH,
			CONTENT_LOCATION,
			CONTENT_TYPE,
			CSEQ,
			DATE,
			EXPIRES,
			FROM,
			IF_MODIFIED_SINCE,
			LAST_MODIFIED,
			PROXY_AUTHENTICATE,
			PROXY_REQUIRE,
			PUBLIC,
			RANGE,
			REFERER,
			REQUIRE,
			RETRY_AFTER,
			RTP_INFO,
			SCALE,
			SESSION,
			SERVER,
			SPEED,
			TRANSPORT,
			UNSUPPORTED,
			USER_AGENT,
			VIA,
			WWW_AUTHENTICATE,
			CLIENT_CHALLENGE,
			REAL_CHALLENGE1,
			REAL_CHALLENGE2,
			REAL_CHALLENGE3,
			SUBSCRIBE,
			ALERT,
			CLIENT_ID,
			COMPANY_ID,
			GUID,
			REGION_DATA,
			MAX_ASM_WIDTH,
			LANGUAGE,
			PLAYER_START_TIME,
			LOCATION,
			ETAG,
			IF_MATCH,
			ACCEPT_CHARSET,
			SUPPORTED,
			VARY,
			X_ACCELERATE_STREAMING,
			X_ACCEPT_AUTHENT,
			X_ACCEPT_PROXY_AUTHENT,
			X_BROADCAST_ID,
			X_BURST_STREAMING,
			X_NOTICE,
			X_PLAYER_LAG_TIME,
			X_PLAYLIST,
			X_PLAYLIST_CHANGE_NOTICE,
			X_PLAYLIST_GEN_ID,
			X_PLAYLIST_SEEK_ID,
			X_PROXY_CLIENT_AGENT,
			X_PROXY_CLIENT_VERB,
			X_RECEDING_PLAYLISTCHANGE,
			X_RTP_INFO,
			X_STARTUPPROFILE,
			TIMESTAMP,
			AUTHENTICATION_INFO,
			HOST,
			PRAGMA,
			X_SERVER_IP_ADDRESS,
			X_SESSIONCOOKIE,
			RTCP_INTERVAL,
			KEYMGMT,
			PIPELINED_REQUESTS,
			MEDIA_PROPERTIES,
			SEEK_STYLE,
			ACCEPT_RANGES,
			FRAMES,
			RATE_CONTROL,
			LAST
		}
		[CCode (cheader_filename = "gst/rtsp/rtsp.h", cprefix = "GST_RTSP_LOWER_TRANS_", type_id = "gst_rtsp_lower_trans_get_type ()")]
		[Flags]
		[GIR (name = "RTSPLowerTrans")]
		public enum LowerTrans {
			UNKNOWN,
			UDP,
			UDP_MCAST,
			TCP,
			HTTP,
			TLS
		}
		[CCode (cheader_filename = "gst/rtsp/rtsp.h", cprefix = "GST_RTSP_", type_id = "gst_rtsp_method_get_type ()")]
		[Flags]
		[GIR (name = "RTSPMethod")]
		public enum Method {
			INVALID,
			DESCRIBE,
			ANNOUNCE,
			GET_PARAMETER,
			OPTIONS,
			PAUSE,
			PLAY,
			RECORD,
			REDIRECT,
			SETUP,
			SET_PARAMETER,
			TEARDOWN,
			GET,
			POST;
			public unowned string? as_text ();
		}
		[CCode (cheader_filename = "gst/rtsp/rtsp.h", cprefix = "GST_RTSP_MESSAGE_", type_id = "gst_rtsp_msg_type_get_type ()")]
		[GIR (name = "RTSPMsgType")]
		public enum MsgType {
			INVALID,
			REQUEST,
			RESPONSE,
			HTTP_REQUEST,
			HTTP_RESPONSE,
			DATA
		}
		[CCode (cheader_filename = "gst/rtsp/rtsp.h", cprefix = "GST_RTSP_PROFILE_", type_id = "gst_rtsp_profile_get_type ()")]
		[Flags]
		[GIR (name = "RTSPProfile")]
		public enum Profile {
			UNKNOWN,
			AVP,
			SAVP,
			AVPF,
			SAVPF
		}
		[CCode (cheader_filename = "gst/rtsp/rtsp.h", cprefix = "GST_RTSP_RANGE_", type_id = "gst_rtsp_range_unit_get_type ()")]
		[GIR (name = "RTSPRangeUnit")]
		public enum RangeUnit {
			SMPTE,
			SMPTE_30_DROP,
			SMPTE_25,
			NPT,
			CLOCK
		}
		[CCode (cheader_filename = "gst/rtsp/rtsp.h", cprefix = "GST_RTSP_", type_id = "gst_rtsp_result_get_type ()")]
		[GIR (name = "RTSPResult")]
		public enum Result {
			OK,
			ERROR,
			EINVAL,
			EINTR,
			ENOMEM,
			ERESOLV,
			ENOTIMPL,
			ESYS,
			EPARSE,
			EWSASTART,
			EWSAVERSION,
			EEOF,
			ENET,
			ENOTIP,
			ETIMEOUT,
			ETGET,
			ETPOST,
			ELAST
		}
		[CCode (cheader_filename = "gst/rtsp/rtsp.h", cprefix = "GST_RTSP_STATE_", type_id = "gst_rtsp_state_get_type ()")]
		[GIR (name = "RTSPState")]
		public enum State {
			INVALID,
			INIT,
			READY,
			SEEKING,
			PLAYING,
			RECORDING
		}
		[CCode (cheader_filename = "gst/rtsp/rtsp.h", cprefix = "GST_RTSP_STS_", type_id = "gst_rtsp_status_code_get_type ()")]
		[GIR (name = "RTSPStatusCode")]
		public enum StatusCode {
			INVALID,
			CONTINUE,
			OK,
			CREATED,
			LOW_ON_STORAGE,
			MULTIPLE_CHOICES,
			MOVED_PERMANENTLY,
			MOVE_TEMPORARILY,
			SEE_OTHER,
			NOT_MODIFIED,
			USE_PROXY,
			BAD_REQUEST,
			UNAUTHORIZED,
			PAYMENT_REQUIRED,
			FORBIDDEN,
			NOT_FOUND,
			METHOD_NOT_ALLOWED,
			NOT_ACCEPTABLE,
			PROXY_AUTH_REQUIRED,
			REQUEST_TIMEOUT,
			GONE,
			LENGTH_REQUIRED,
			PRECONDITION_FAILED,
			REQUEST_ENTITY_TOO_LARGE,
			REQUEST_URI_TOO_LARGE,
			UNSUPPORTED_MEDIA_TYPE,
			PARAMETER_NOT_UNDERSTOOD,
			CONFERENCE_NOT_FOUND,
			NOT_ENOUGH_BANDWIDTH,
			SESSION_NOT_FOUND,
			METHOD_NOT_VALID_IN_THIS_STATE,
			HEADER_FIELD_NOT_VALID_FOR_RESOURCE,
			INVALID_RANGE,
			PARAMETER_IS_READONLY,
			AGGREGATE_OPERATION_NOT_ALLOWED,
			ONLY_AGGREGATE_OPERATION_ALLOWED,
			UNSUPPORTED_TRANSPORT,
			DESTINATION_UNREACHABLE,
			KEY_MANAGEMENT_FAILURE,
			INTERNAL_SERVER_ERROR,
			NOT_IMPLEMENTED,
			BAD_GATEWAY,
			SERVICE_UNAVAILABLE,
			GATEWAY_TIMEOUT,
			RTSP_VERSION_NOT_SUPPORTED,
			OPTION_NOT_SUPPORTED
		}
		[CCode (cheader_filename = "gst/rtsp/rtsp.h", cprefix = "GST_RTSP_TIME_", type_id = "gst_rtsp_time_type_get_type ()")]
		[GIR (name = "RTSPTimeType")]
		public enum TimeType {
			SECONDS,
			NOW,
			END,
			FRAMES,
			UTC
		}
		[CCode (cheader_filename = "gst/rtsp/rtsp.h", cprefix = "GST_RTSP_TRANS_", type_id = "gst_rtsp_trans_mode_get_type ()")]
		[Flags]
		[GIR (name = "RTSPTransMode")]
		public enum TransMode {
			UNKNOWN,
			RTP,
			RDT
		}
		[CCode (cheader_filename = "gst/rtsp/rtsp.h", cprefix = "GST_RTSP_VERSION_", type_id = "gst_rtsp_version_get_type ()")]
		[GIR (name = "RTSPVersion")]
		public enum Version {
			INVALID,
			@1_0,
			@1_1,
			@2_0;
			public unowned string as_text ();
		}
		[CCode (cheader_filename = "gst/rtsp/rtsp.h", instance_pos = 3.9)]
		public delegate bool ConnectionAcceptCertificateFunc (GLib.TlsConnection conn, GLib.TlsCertificate peer_cert, GLib.TlsCertificateFlags errors);
		[CCode (cheader_filename = "gst/rtsp/rtsp.h", cname = "GST_RTSP_DEFAULT_PORT")]
		public const int _DEFAULT_PORT;
		[CCode (cheader_filename = "gst/rtsp/rtsp.h")]
		[Version (since = "1.12")]
		public static void auth_credentials_free (Gst.RTSP.AuthCredential credentials);
		[CCode (cheader_filename = "gst/rtsp/rtsp.h")]
		[Version (replacement = "RTSPConnection.accept")]
		public static Gst.RTSP.Result connection_accept (GLib.Socket socket, out Gst.RTSP.Connection? conn, GLib.Cancellable? cancellable = null);
		[CCode (cheader_filename = "gst/rtsp/rtsp.h")]
		[Version (replacement = "RTSPConnection.create")]
		public static Gst.RTSP.Result connection_create (Gst.RTSP.Url url, out Gst.RTSP.Connection conn);
		[CCode (cheader_filename = "gst/rtsp/rtsp.h")]
		[Version (replacement = "RTSPConnection.create_from_socket")]
		public static Gst.RTSP.Result connection_create_from_socket (GLib.Socket socket, string ip, uint16 port, string initial_buffer, out Gst.RTSP.Connection? conn);
		[CCode (cheader_filename = "gst/rtsp/rtsp.h")]
		public static Gst.RTSP.HeaderField find_header_field (string header);
		[CCode (cheader_filename = "gst/rtsp/rtsp.h")]
		public static Gst.RTSP.Method find_method (string method);
		[CCode (cheader_filename = "gst/rtsp/rtsp.h")]
		[Version (since = "1.12")]
		public static string? generate_digest_auth_response (string? algorithm, string method, string realm, string username, string password, string uri, string nonce);
		[CCode (cheader_filename = "gst/rtsp/rtsp.h")]
		[Version (since = "1.16")]
		public static string? generate_digest_auth_response_from_md5 (string? algorithm, string method, string md5, string uri, string nonce);
		[CCode (cheader_filename = "gst/rtsp/rtsp.h")]
		public static bool header_allow_multiple (Gst.RTSP.HeaderField field);
		[CCode (cheader_filename = "gst/rtsp/rtsp.h")]
		public static unowned string? header_as_text (Gst.RTSP.HeaderField field);
		[CCode (cheader_filename = "gst/rtsp/rtsp.h")]
		public static Gst.RTSP.Result message_init (out unowned Gst.RTSP.Message msg);
		[CCode (cheader_filename = "gst/rtsp/rtsp.h")]
		public static Gst.RTSP.Result message_init_data (out unowned Gst.RTSP.Message msg, uint8 channel);
		[CCode (cheader_filename = "gst/rtsp/rtsp.h")]
		public static Gst.RTSP.Result message_init_request (out unowned Gst.RTSP.Message msg, Gst.RTSP.Method method, string uri);
		[CCode (cheader_filename = "gst/rtsp/rtsp.h")]
		public static Gst.RTSP.Result message_init_response (out unowned Gst.RTSP.Message msg, Gst.RTSP.StatusCode code, string? reason, Gst.RTSP.Message? request);
		[CCode (cheader_filename = "gst/rtsp/rtsp.h")]
		public static Gst.RTSP.Result message_new (out Gst.RTSP.Message msg);
		[CCode (cheader_filename = "gst/rtsp/rtsp.h")]
		public static Gst.RTSP.Result message_new_data (out Gst.RTSP.Message msg, uint8 channel);
		[CCode (cheader_filename = "gst/rtsp/rtsp.h")]
		public static Gst.RTSP.Result message_new_request (out Gst.RTSP.Message msg, Gst.RTSP.Method method, string uri);
		[CCode (cheader_filename = "gst/rtsp/rtsp.h")]
		public static Gst.RTSP.Result message_new_response (out Gst.RTSP.Message msg, Gst.RTSP.StatusCode code, string? reason, Gst.RTSP.Message? request);
		[CCode (cheader_filename = "gst/rtsp/rtsp.h")]
		[Version (replacement = "RTSPMethod.as_text")]
		public static unowned string? method_as_text (Gst.RTSP.Method method);
		[CCode (cheader_filename = "gst/rtsp/rtsp.h")]
		public static string options_as_text (Gst.RTSP.Method options);
		[CCode (cheader_filename = "gst/rtsp/rtsp.h")]
		[Version (since = "1.2")]
		public static Gst.RTSP.Method options_from_text (string options);
		[CCode (cheader_filename = "gst/rtsp/rtsp.h")]
		[Version (replacement = "RTSPRange.convert_units")]
		public static bool range_convert_units (Gst.RTSP.TimeRange range, Gst.RTSP.RangeUnit unit);
		[CCode (cheader_filename = "gst/rtsp/rtsp.h")]
		[Version (replacement = "RTSPRange.free")]
		public static void range_free (Gst.RTSP.TimeRange range);
		[CCode (cheader_filename = "gst/rtsp/rtsp.h")]
		[Version (replacement = "RTSPRange.get_times", since = "1.2")]
		public static bool range_get_times (Gst.RTSP.TimeRange range, out Gst.ClockTime min, out Gst.ClockTime max);
		[CCode (cheader_filename = "gst/rtsp/rtsp.h")]
		[Version (replacement = "RTSPRange.parse")]
		public static Gst.RTSP.Result range_parse (string rangestr, out Gst.RTSP.TimeRange range);
		[CCode (cheader_filename = "gst/rtsp/rtsp.h")]
		[Version (replacement = "RTSPRange.to_string")]
		public static string range_to_string (Gst.RTSP.TimeRange range);
		[CCode (cheader_filename = "gst/rtsp/rtsp.h")]
		public static unowned string status_as_text (Gst.RTSP.StatusCode code);
		[CCode (cheader_filename = "gst/rtsp/rtsp.h")]
		public static string strresult (Gst.RTSP.Result result);
		[CCode (cheader_filename = "gst/rtsp/rtsp.h")]
		[Version (replacement = "RTSPTransport.get_manager")]
		public static Gst.RTSP.Result transport_get_manager (Gst.RTSP.TransMode trans, out unowned string? manager, uint option);
		[CCode (cheader_filename = "gst/rtsp/rtsp.h")]
		[Version (deprecated = true, replacement = "RTSPTransport.get_mime")]
		public static Gst.RTSP.Result transport_get_mime (Gst.RTSP.TransMode trans, out unowned string mime);
		[CCode (cheader_filename = "gst/rtsp/rtsp.h")]
		[Version (replacement = "RTSPTransport.init")]
		public static Gst.RTSP.Result transport_init (out Gst.RTSP.Transport transport);
		[CCode (cheader_filename = "gst/rtsp/rtsp.h")]
		[Version (replacement = "RTSPTransport.new")]
		public static Gst.RTSP.Result transport_new (out Gst.RTSP.Transport transport);
		[CCode (cheader_filename = "gst/rtsp/rtsp.h")]
		[Version (replacement = "RTSPTransport.parse")]
		public static Gst.RTSP.Result transport_parse (string str, out Gst.RTSP.Transport transport);
		[CCode (cheader_filename = "gst/rtsp/rtsp.h")]
		[Version (replacement = "RTSPUrl.parse")]
		public static Gst.RTSP.Result url_parse (string urlstr, out Gst.RTSP.Url? url);
		[CCode (cheader_filename = "gst/rtsp/rtsp.h")]
		[Version (replacement = "RTSPVersion.as_text")]
		public static unowned string version_as_text (Gst.RTSP.Version version);
	}
}