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
|
/* gstreamer-rtp-0.10.vapi generated by vapigen, do not modify. */
[CCode (cprefix = "Gst", gir_namespace = "GstRtp", gir_version = "0.10", lower_case_cprefix = "gst_")]
[Version (deprecated = true, replacement = "gstreamer-1.0")]
namespace Gst {
[CCode (cheader_filename = "gst/rtp/gstbasertpaudiopayload.h")]
public class BaseRTPAudioPayload : Gst.BaseRTPPayload {
public Gst.ClockTime base_ts;
public int frame_duration;
public int frame_size;
public int sample_size;
[CCode (has_construct_function = false)]
protected BaseRTPAudioPayload ();
public Gst.FlowReturn flush (uint payload_len, Gst.ClockTime timestamp);
public unowned Gst.Adapter get_adapter ();
public Gst.FlowReturn push (uchar data, uint payload_len, Gst.ClockTime timestamp);
public void set_frame_based ();
public void set_frame_options (int frame_duration, int frame_size);
public void set_sample_based ();
public void set_sample_options (int sample_size);
public void set_samplebits_options (int sample_size);
[NoAccessorMethod]
public bool buffer_list { get; set; }
}
[CCode (cheader_filename = "gst/rtp/gstbasertpdepayload.h")]
public class BaseRTPDepayload : Gst.Element {
public uint clock_rate;
public bool need_newsegment;
public weak GLib.Queue queue;
public GLib.StaticRecMutex queuelock;
public weak Gst.Segment segment;
public weak Gst.Pad sinkpad;
public weak Gst.Pad srcpad;
public weak GLib.Thread thread;
public bool thread_running;
[CCode (has_construct_function = false)]
protected BaseRTPDepayload ();
[NoWrapper]
public virtual Gst.FlowReturn add_to_queue (Gst.Buffer @in);
[NoWrapper]
public virtual bool handle_event (Gst.Event event);
[NoWrapper]
public virtual bool packet_lost (Gst.Event event);
[NoWrapper]
public virtual unowned Gst.Buffer process (Gst.Buffer @in);
public Gst.FlowReturn push (Gst.Buffer out_buf);
public Gst.FlowReturn push_list (Gst.BufferList out_list);
public Gst.FlowReturn push_ts (uint32 timestamp, Gst.Buffer out_buf);
[NoWrapper]
public virtual bool set_caps (Gst.Caps caps);
[NoWrapper]
public virtual void set_gst_timestamp (uint32 timestamp, Gst.Buffer buf);
[NoAccessorMethod]
public uint queue_delay { get; set; }
}
[CCode (cheader_filename = "gst/rtp/gstbasertpaudiopayload.h")]
public class BaseRTPPayload : Gst.Element {
public void* abidata;
public uint32 clock_rate;
public uint current_ssrc;
public bool @dynamic;
public weak string encoding_name;
public weak string media;
public weak Gst.Segment segment;
public weak GLib.Rand seq_rand;
public uint16 seqnum_base;
public weak Gst.Pad sinkpad;
public weak Gst.Pad srcpad;
public weak GLib.Rand ssrc_rand;
public uint32 ts_base;
public int32 ts_offset;
public weak GLib.Rand ts_rand;
[CCode (has_construct_function = false)]
protected BaseRTPPayload ();
[NoWrapper]
public virtual unowned Gst.Caps get_caps (Gst.Pad pad);
[NoWrapper]
public virtual Gst.FlowReturn handle_buffer (Gst.Buffer buffer);
[NoWrapper]
public virtual bool handle_event (Gst.Pad pad, Gst.Event event);
[CCode (cname = "gst_basertppayload_is_filled")]
public bool is_filled (uint size, Gst.ClockTime duration);
[CCode (cname = "gst_basertppayload_push")]
public Gst.FlowReturn push (Gst.Buffer buffer);
[CCode (cname = "gst_basertppayload_push_list")]
public Gst.FlowReturn push_list (Gst.BufferList list);
[NoWrapper]
public virtual bool set_caps (Gst.Caps caps);
[CCode (cname = "gst_basertppayload_set_options")]
public void set_options (string media, bool @dynamic, string encoding_name, uint32 clock_rate);
[CCode (cname = "gst_basertppayload_set_outcaps")]
public bool set_outcaps (string fieldname);
[NoAccessorMethod]
public int64 max_ptime { get; set; }
[NoAccessorMethod]
public int64 min_ptime { get; set; }
[NoAccessorMethod]
public uint mtu { get; set; }
[NoAccessorMethod]
public bool perfect_rtptime { get; set; }
[NoAccessorMethod]
public uint pt { get; set; }
[NoAccessorMethod]
public int64 ptime_multiple { get; set; }
[NoAccessorMethod]
public uint seqnum { get; }
[NoAccessorMethod]
public int seqnum_offset { get; set; }
[NoAccessorMethod]
public uint ssrc { get; set; }
[NoAccessorMethod]
public uint timestamp { get; }
[NoAccessorMethod]
public uint timestamp_offset { get; set; }
}
[CCode (cheader_filename = "gst/rtp/gstrtppayloads.h")]
[Compact]
public class RTPPayloadInfo {
public uint bitrate;
public uint clock_rate;
public weak string encoding_name;
public weak string encoding_parameters;
public weak string media;
public uchar payload_type;
public static unowned Gst.RTPPayloadInfo for_name (string media, string encoding_name);
public static unowned Gst.RTPPayloadInfo for_pt (uchar payload_type);
}
[CCode (cheader_filename = "gst/rtp/gstrtcpbuffer.h")]
public struct RTCPPacket {
public weak Gst.Buffer buffer;
public uint offset;
public bool padding;
public uchar count;
public Gst.RTCPType type;
public uint16 length;
public uint item_offset;
public uint item_count;
public uint entry_offset;
public bool add_rb (uint32 ssrc, uchar fractionlost, int32 packetslost, uint32 exthighestseq, uint32 jitter, uint32 lsr, uint32 dlsr);
public bool bye_add_ssrc (uint32 ssrc);
public bool bye_add_ssrcs (uint32 ssrc, uint len);
public uint32 bye_get_nth_ssrc (uint nth);
public unowned string bye_get_reason ();
public uchar bye_get_reason_len ();
public uint bye_get_ssrc_count ();
public bool bye_set_reason (string reason);
public uchar fb_get_fci ();
public uint16 fb_get_fci_length ();
public uint32 fb_get_media_ssrc ();
public uint32 fb_get_sender_ssrc ();
public Gst.RTCPFBType fb_get_type ();
public bool fb_set_fci_length (uint16 wordlen);
public void fb_set_media_ssrc (uint32 ssrc);
public void fb_set_sender_ssrc (uint32 ssrc);
public void fb_set_type (Gst.RTCPFBType type);
public uchar get_count ();
public uint16 get_length ();
public bool get_padding ();
public void get_rb (uint nth, uint32 ssrc, uchar fractionlost, int32 packetslost, uint32 exthighestseq, uint32 jitter, uint32 lsr, uint32 dlsr);
public uint get_rb_count ();
public bool move_to_next ();
public bool remove ();
public uint32 rr_get_ssrc ();
public void rr_set_ssrc (uint32 ssrc);
public bool sdes_add_entry (Gst.RTCPSDESType type, uchar len, uchar data);
public bool sdes_add_item (uint32 ssrc);
public bool sdes_copy_entry (Gst.RTCPSDESType type, uchar len, uchar data);
public bool sdes_first_entry ();
public bool sdes_first_item ();
public bool sdes_get_entry (Gst.RTCPSDESType type, uchar len, uchar data);
public uint sdes_get_item_count ();
public uint32 sdes_get_ssrc ();
public bool sdes_next_entry ();
public bool sdes_next_item ();
public void set_rb (uint nth, uint32 ssrc, uchar fractionlost, int32 packetslost, uint32 exthighestseq, uint32 jitter, uint32 lsr, uint32 dlsr);
public void sr_get_sender_info (uint32 ssrc, uint64 ntptime, uint32 rtptime, uint32 packet_count, uint32 octet_count);
public void sr_set_sender_info (uint32 ssrc, uint64 ntptime, uint32 rtptime, uint32 packet_count, uint32 octet_count);
}
[CCode (cheader_filename = "gst/rtp/gstrtcpbuffer.h", cprefix = "GST_RTCP_", has_type_id = false)]
public enum RTCPFBType {
FB_TYPE_INVALID,
RTPFB_TYPE_NACK,
PSFB_TYPE_PLI,
PSFB_TYPE_SLI,
PSFB_TYPE_RPSI,
PSFB_TYPE_AFB
}
[CCode (cheader_filename = "gst/rtp/gstrtcpbuffer.h", cprefix = "GST_RTCP_SDES_", has_type_id = false)]
public enum RTCPSDESType {
INVALID,
END,
CNAME,
NAME,
EMAIL,
PHONE,
LOC,
TOOL,
NOTE,
PRIV
}
[CCode (cheader_filename = "gst/rtp/gstrtcpbuffer.h", cprefix = "GST_RTCP_TYPE_", has_type_id = false)]
public enum RTCPType {
INVALID,
SR,
RR,
SDES,
BYE,
APP,
RTPFB,
PSFB
}
[CCode (cheader_filename = "gst/rtp/gstbasertpaudiopayload.h", cprefix = "GST_RTP_PAYLOAD_", has_type_id = false)]
public enum RTPPayload {
PCMU,
@1016,
G721,
GSM,
G723,
DVI4_8000,
DVI4_16000,
LPC,
PCMA,
G722,
L16_STEREO,
L16_MONO,
QCELP,
CN,
MPA,
G728,
DVI4_11025,
DVI4_22050,
G729,
CELLB,
JPEG,
NV,
H261,
MPV,
MP2T,
H263
}
[CCode (cheader_filename = "gst/rtp/gstrtcpbuffer.h")]
public const int RTCP_MAX_BYE_SSRC_COUNT;
[CCode (cheader_filename = "gst/rtp/gstrtcpbuffer.h")]
public const int RTCP_MAX_RB_COUNT;
[CCode (cheader_filename = "gst/rtp/gstrtcpbuffer.h")]
public const int RTCP_MAX_SDES;
[CCode (cheader_filename = "gst/rtp/gstrtcpbuffer.h")]
public const int RTCP_MAX_SDES_ITEM_COUNT;
[CCode (cheader_filename = "gst/rtp/gstrtcpbuffer.h")]
public const int RTCP_VALID_MASK;
[CCode (cheader_filename = "gst/rtp/gstrtcpbuffer.h")]
public const int RTCP_VALID_VALUE;
[CCode (cheader_filename = "gst/rtp/gstrtcpbuffer.h")]
public const int RTCP_VERSION;
[CCode (cheader_filename = "gst/rtp/gstrtppayloads.h")]
public const string RTP_PAYLOAD_1016_STRING;
[CCode (cheader_filename = "gst/rtp/gstrtppayloads.h")]
public const string RTP_PAYLOAD_CELLB_STRING;
[CCode (cheader_filename = "gst/rtp/gstrtppayloads.h")]
public const string RTP_PAYLOAD_CN_STRING;
[CCode (cheader_filename = "gst/rtp/gstrtppayloads.h")]
public const string RTP_PAYLOAD_DVI4_11025_STRING;
[CCode (cheader_filename = "gst/rtp/gstrtppayloads.h")]
public const string RTP_PAYLOAD_DVI4_16000_STRING;
[CCode (cheader_filename = "gst/rtp/gstrtppayloads.h")]
public const string RTP_PAYLOAD_DVI4_22050_STRING;
[CCode (cheader_filename = "gst/rtp/gstrtppayloads.h")]
public const string RTP_PAYLOAD_DVI4_8000_STRING;
[CCode (cheader_filename = "gst/rtp/gstrtppayloads.h")]
public const string RTP_PAYLOAD_DYNAMIC_STRING;
[CCode (cheader_filename = "gst/rtp/gstrtppayloads.h")]
public const string RTP_PAYLOAD_G721_STRING;
[CCode (cheader_filename = "gst/rtp/gstrtppayloads.h")]
public const string RTP_PAYLOAD_G722_STRING;
[CCode (cheader_filename = "gst/rtp/gstrtppayloads.h")]
public const int RTP_PAYLOAD_G723_53;
[CCode (cheader_filename = "gst/rtp/gstrtppayloads.h")]
public const string RTP_PAYLOAD_G723_53_STRING;
[CCode (cheader_filename = "gst/rtp/gstrtppayloads.h")]
public const int RTP_PAYLOAD_G723_63;
[CCode (cheader_filename = "gst/rtp/gstrtppayloads.h")]
public const string RTP_PAYLOAD_G723_63_STRING;
[CCode (cheader_filename = "gst/rtp/gstrtppayloads.h")]
public const string RTP_PAYLOAD_G723_STRING;
[CCode (cheader_filename = "gst/rtp/gstrtppayloads.h")]
public const string RTP_PAYLOAD_G728_STRING;
[CCode (cheader_filename = "gst/rtp/gstrtppayloads.h")]
public const string RTP_PAYLOAD_G729_STRING;
[CCode (cheader_filename = "gst/rtp/gstrtppayloads.h")]
public const string RTP_PAYLOAD_GSM_STRING;
[CCode (cheader_filename = "gst/rtp/gstrtppayloads.h")]
public const string RTP_PAYLOAD_H261_STRING;
[CCode (cheader_filename = "gst/rtp/gstrtppayloads.h")]
public const string RTP_PAYLOAD_H263_STRING;
[CCode (cheader_filename = "gst/rtp/gstrtppayloads.h")]
public const string RTP_PAYLOAD_JPEG_STRING;
[CCode (cheader_filename = "gst/rtp/gstrtppayloads.h")]
public const string RTP_PAYLOAD_L16_MONO_STRING;
[CCode (cheader_filename = "gst/rtp/gstrtppayloads.h")]
public const string RTP_PAYLOAD_L16_STEREO_STRING;
[CCode (cheader_filename = "gst/rtp/gstrtppayloads.h")]
public const string RTP_PAYLOAD_LPC_STRING;
[CCode (cheader_filename = "gst/rtp/gstrtppayloads.h")]
public const string RTP_PAYLOAD_MP2T_STRING;
[CCode (cheader_filename = "gst/rtp/gstrtppayloads.h")]
public const string RTP_PAYLOAD_MPA_STRING;
[CCode (cheader_filename = "gst/rtp/gstrtppayloads.h")]
public const string RTP_PAYLOAD_MPV_STRING;
[CCode (cheader_filename = "gst/rtp/gstrtppayloads.h")]
public const string RTP_PAYLOAD_NV_STRING;
[CCode (cheader_filename = "gst/rtp/gstrtppayloads.h")]
public const string RTP_PAYLOAD_PCMA_STRING;
[CCode (cheader_filename = "gst/rtp/gstrtppayloads.h")]
public const string RTP_PAYLOAD_PCMU_STRING;
[CCode (cheader_filename = "gst/rtp/gstrtppayloads.h")]
public const string RTP_PAYLOAD_QCELP_STRING;
[CCode (cheader_filename = "gst/rtp/gstrtppayloads.h")]
public const int RTP_PAYLOAD_TS41;
[CCode (cheader_filename = "gst/rtp/gstrtppayloads.h")]
public const string RTP_PAYLOAD_TS41_STRING;
[CCode (cheader_filename = "gst/rtp/gstrtppayloads.h")]
public const int RTP_PAYLOAD_TS48;
[CCode (cheader_filename = "gst/rtp/gstrtppayloads.h")]
public const string RTP_PAYLOAD_TS48_STRING;
[CCode (cheader_filename = "gst/rtp/gstrtpbuffer.h")]
public const int RTP_VERSION;
[CCode (cheader_filename = "gst/rtp/gstrtcpbuffer.h")]
public static bool rtcp_buffer_add_packet (Gst.Buffer buffer, Gst.RTCPType type, ref Gst.RTCPPacket packet);
[CCode (cheader_filename = "gst/rtp/gstrtcpbuffer.h")]
public static void rtcp_buffer_end (Gst.Buffer buffer);
[CCode (cheader_filename = "gst/rtp/gstrtcpbuffer.h")]
public static bool rtcp_buffer_get_first_packet (Gst.Buffer buffer, ref Gst.RTCPPacket packet);
[CCode (cheader_filename = "gst/rtp/gstrtcpbuffer.h")]
public static uint rtcp_buffer_get_packet_count (Gst.Buffer buffer);
[CCode (cheader_filename = "gst/rtp/gstrtcpbuffer.h")]
public static unowned Gst.Buffer rtcp_buffer_new (uint mtu);
[CCode (cheader_filename = "gst/rtp/gstrtcpbuffer.h")]
public static unowned Gst.Buffer rtcp_buffer_new_copy_data (void* data, uint len);
[CCode (cheader_filename = "gst/rtp/gstrtcpbuffer.h")]
public static unowned Gst.Buffer rtcp_buffer_new_take_data (void* data, uint len);
[CCode (cheader_filename = "gst/rtp/gstrtcpbuffer.h")]
public static bool rtcp_buffer_validate (Gst.Buffer buffer);
[CCode (cheader_filename = "gst/rtp/gstrtcpbuffer.h")]
public static bool rtcp_buffer_validate_data (uchar data, uint len);
[CCode (cheader_filename = "gst/rtp/gstrtcpbuffer.h")]
public static uint64 rtcp_ntp_to_unix (uint64 ntptime);
[CCode (cheader_filename = "gst/rtp/gstrtcpbuffer.h")]
public static Gst.RTCPSDESType rtcp_sdes_name_to_type (string name);
[CCode (cheader_filename = "gst/rtp/gstrtcpbuffer.h")]
public static unowned string rtcp_sdes_type_to_name (Gst.RTCPSDESType type);
[CCode (cheader_filename = "gst/rtp/gstrtcpbuffer.h")]
public static uint64 rtcp_unix_to_ntp (uint64 unixtime);
[CCode (cheader_filename = "gst/rtp/gstrtpbuffer.h")]
public static bool rtp_buffer_add_extension_onebyte_header (Gst.Buffer buffer, uchar id, void* data, uint size);
[CCode (cheader_filename = "gst/rtp/gstrtpbuffer.h")]
public static bool rtp_buffer_add_extension_twobytes_header (Gst.Buffer buffer, uchar appbits, uchar id, void* data, uint size);
[CCode (cheader_filename = "gst/rtp/gstrtpbuffer.h")]
public static void rtp_buffer_allocate_data (Gst.Buffer buffer, uint payload_len, uchar pad_len, uchar csrc_count);
[CCode (cheader_filename = "gst/rtp/gstrtpbuffer.h")]
public static uint rtp_buffer_calc_header_len (uchar csrc_count);
[CCode (cheader_filename = "gst/rtp/gstrtpbuffer.h")]
public static uint rtp_buffer_calc_packet_len (uint payload_len, uchar pad_len, uchar csrc_count);
[CCode (cheader_filename = "gst/rtp/gstrtpbuffer.h")]
public static uint rtp_buffer_calc_payload_len (uint packet_len, uchar pad_len, uchar csrc_count);
[CCode (cheader_filename = "gst/rtp/gstrtpbuffer.h")]
public static int rtp_buffer_compare_seqnum (uint16 seqnum1, uint16 seqnum2);
[CCode (cheader_filename = "gst/rtp/gstrtpbuffer.h")]
public static uint32 rtp_buffer_default_clock_rate (uchar payload_type);
[CCode (cheader_filename = "gst/rtp/gstrtpbuffer.h")]
public static uint64 rtp_buffer_ext_timestamp (uint64 exttimestamp, uint32 timestamp);
[CCode (cheader_filename = "gst/rtp/gstrtpbuffer.h")]
public static uint32 rtp_buffer_get_csrc (Gst.Buffer buffer, uchar idx);
[CCode (cheader_filename = "gst/rtp/gstrtpbuffer.h")]
public static uchar rtp_buffer_get_csrc_count (Gst.Buffer buffer);
[CCode (cheader_filename = "gst/rtp/gstrtpbuffer.h")]
public static bool rtp_buffer_get_extension (Gst.Buffer buffer);
[CCode (cheader_filename = "gst/rtp/gstrtpbuffer.h")]
public static bool rtp_buffer_get_extension_data (Gst.Buffer buffer, out uint16 bits, out void* data, out uint wordlen);
[CCode (cheader_filename = "gst/rtp/gstrtpbuffer.h")]
public static bool rtp_buffer_get_extension_onebyte_header (Gst.Buffer buffer, uchar id, uint nth, void* data, uint size);
[CCode (cheader_filename = "gst/rtp/gstrtpbuffer.h")]
public static bool rtp_buffer_get_extension_twobytes_header (Gst.Buffer buffer, uchar appbits, uchar id, uint nth, void* data, uint size);
[CCode (cheader_filename = "gst/rtp/gstrtpbuffer.h")]
public static uint rtp_buffer_get_header_len (Gst.Buffer buffer);
[CCode (cheader_filename = "gst/rtp/gstrtpbuffer.h")]
public static bool rtp_buffer_get_marker (Gst.Buffer buffer);
[CCode (cheader_filename = "gst/rtp/gstrtpbuffer.h")]
public static uint rtp_buffer_get_packet_len (Gst.Buffer buffer);
[CCode (cheader_filename = "gst/rtp/gstrtpbuffer.h")]
public static bool rtp_buffer_get_padding (Gst.Buffer buffer);
[CCode (cheader_filename = "gst/rtp/gstrtpbuffer.h")]
public static void* rtp_buffer_get_payload (Gst.Buffer buffer);
[CCode (cheader_filename = "gst/rtp/gstrtpbuffer.h")]
public static unowned Gst.Buffer rtp_buffer_get_payload_buffer (Gst.Buffer buffer);
[CCode (cheader_filename = "gst/rtp/gstrtpbuffer.h")]
public static uint rtp_buffer_get_payload_len (Gst.Buffer buffer);
[CCode (cheader_filename = "gst/rtp/gstrtpbuffer.h")]
public static unowned Gst.Buffer rtp_buffer_get_payload_subbuffer (Gst.Buffer buffer, uint offset, uint len);
[CCode (cheader_filename = "gst/rtp/gstrtpbuffer.h")]
public static uchar rtp_buffer_get_payload_type (Gst.Buffer buffer);
[CCode (cheader_filename = "gst/rtp/gstrtpbuffer.h")]
public static uint16 rtp_buffer_get_seq (Gst.Buffer buffer);
[CCode (cheader_filename = "gst/rtp/gstrtpbuffer.h")]
public static uint32 rtp_buffer_get_ssrc (Gst.Buffer buffer);
[CCode (cheader_filename = "gst/rtp/gstrtpbuffer.h")]
public static uint32 rtp_buffer_get_timestamp (Gst.Buffer buffer);
[CCode (cheader_filename = "gst/rtp/gstrtpbuffer.h")]
public static uchar rtp_buffer_get_version (Gst.Buffer buffer);
[CCode (cheader_filename = "gst/rtp/gstrtpbuffer.h")]
public static bool rtp_buffer_list_add_extension_onebyte_header (Gst.BufferListIterator it, uchar id, void* data, uint size);
[CCode (cheader_filename = "gst/rtp/gstrtpbuffer.h")]
public static bool rtp_buffer_list_add_extension_twobytes_header (Gst.BufferListIterator it, uchar appbits, uchar id, void* data, uint size);
[CCode (cheader_filename = "gst/rtp/gstrtpbuffer.h")]
public static unowned Gst.BufferList rtp_buffer_list_from_buffer (Gst.Buffer buffer);
[CCode (cheader_filename = "gst/rtp/gstrtpbuffer.h")]
public static bool rtp_buffer_list_get_extension_onebyte_header (Gst.BufferList bufferlist, uint group_idx, uchar id, uint nth, void* data, uint size);
[CCode (cheader_filename = "gst/rtp/gstrtpbuffer.h")]
public static bool rtp_buffer_list_get_extension_twobytes_header (Gst.BufferList bufferlist, uint group_idx, uchar appbits, uchar id, uint nth, void* data, uint size);
[CCode (cheader_filename = "gst/rtp/gstrtpbuffer.h")]
public static uint rtp_buffer_list_get_payload_len (Gst.BufferList list);
[CCode (cheader_filename = "gst/rtp/gstrtpbuffer.h")]
public static uchar rtp_buffer_list_get_payload_type (Gst.BufferList list);
[CCode (cheader_filename = "gst/rtp/gstrtpbuffer.h")]
public static uint16 rtp_buffer_list_get_seq (Gst.BufferList list);
[CCode (cheader_filename = "gst/rtp/gstrtpbuffer.h")]
public static uint32 rtp_buffer_list_get_ssrc (Gst.BufferList list);
[CCode (cheader_filename = "gst/rtp/gstrtpbuffer.h")]
public static uint32 rtp_buffer_list_get_timestamp (Gst.BufferList list);
[CCode (cheader_filename = "gst/rtp/gstrtpbuffer.h")]
public static void rtp_buffer_list_set_payload_type (Gst.BufferList list, uchar payload_type);
[CCode (cheader_filename = "gst/rtp/gstrtpbuffer.h")]
public static uint16 rtp_buffer_list_set_seq (Gst.BufferList list, uint16 seq);
[CCode (cheader_filename = "gst/rtp/gstrtpbuffer.h")]
public static void rtp_buffer_list_set_ssrc (Gst.BufferList list, uint32 ssrc);
[CCode (cheader_filename = "gst/rtp/gstrtpbuffer.h")]
public static void rtp_buffer_list_set_timestamp (Gst.BufferList list, uint32 timestamp);
[CCode (cheader_filename = "gst/rtp/gstrtpbuffer.h")]
public static bool rtp_buffer_list_validate (Gst.BufferList list);
[CCode (cheader_filename = "gst/rtp/gstrtpbuffer.h")]
public static unowned Gst.Buffer rtp_buffer_new_allocate (uint payload_len, uchar pad_len, uchar csrc_count);
[CCode (cheader_filename = "gst/rtp/gstrtpbuffer.h")]
public static unowned Gst.Buffer rtp_buffer_new_allocate_len (uint packet_len, uchar pad_len, uchar csrc_count);
[CCode (cheader_filename = "gst/rtp/gstrtpbuffer.h")]
public static unowned Gst.Buffer rtp_buffer_new_copy_data (void* data, uint len);
[CCode (cheader_filename = "gst/rtp/gstrtpbuffer.h")]
public static unowned Gst.Buffer rtp_buffer_new_take_data (void* data, uint len);
[CCode (cheader_filename = "gst/rtp/gstrtpbuffer.h")]
public static void rtp_buffer_pad_to (Gst.Buffer buffer, uint len);
[CCode (cheader_filename = "gst/rtp/gstrtpbuffer.h")]
public static void rtp_buffer_set_csrc (Gst.Buffer buffer, uchar idx, uint32 csrc);
[CCode (cheader_filename = "gst/rtp/gstrtpbuffer.h")]
public static void rtp_buffer_set_extension (Gst.Buffer buffer, bool extension);
[CCode (cheader_filename = "gst/rtp/gstrtpbuffer.h")]
public static bool rtp_buffer_set_extension_data (Gst.Buffer buffer, uint16 bits, uint16 length);
[CCode (cheader_filename = "gst/rtp/gstrtpbuffer.h")]
public static void rtp_buffer_set_marker (Gst.Buffer buffer, bool marker);
[CCode (cheader_filename = "gst/rtp/gstrtpbuffer.h")]
public static void rtp_buffer_set_packet_len (Gst.Buffer buffer, uint len);
[CCode (cheader_filename = "gst/rtp/gstrtpbuffer.h")]
public static void rtp_buffer_set_padding (Gst.Buffer buffer, bool padding);
[CCode (cheader_filename = "gst/rtp/gstrtpbuffer.h")]
public static void rtp_buffer_set_payload_type (Gst.Buffer buffer, uchar payload_type);
[CCode (cheader_filename = "gst/rtp/gstrtpbuffer.h")]
public static void rtp_buffer_set_seq (Gst.Buffer buffer, uint16 seq);
[CCode (cheader_filename = "gst/rtp/gstrtpbuffer.h")]
public static void rtp_buffer_set_ssrc (Gst.Buffer buffer, uint32 ssrc);
[CCode (cheader_filename = "gst/rtp/gstrtpbuffer.h")]
public static void rtp_buffer_set_timestamp (Gst.Buffer buffer, uint32 timestamp);
[CCode (cheader_filename = "gst/rtp/gstrtpbuffer.h")]
public static void rtp_buffer_set_version (Gst.Buffer buffer, uchar version);
[CCode (cheader_filename = "gst/rtp/gstrtpbuffer.h")]
public static bool rtp_buffer_validate (Gst.Buffer buffer);
[CCode (cheader_filename = "gst/rtp/gstrtpbuffer.h")]
public static bool rtp_buffer_validate_data (uchar data, uint len);
}
|