1 /* gstreamer-rtp-0.10.vapi generated by vapigen, do not modify. */
3 [CCode (cprefix = "Gst", lower_case_cprefix = "gst_")]
5 [CCode (cheader_filename = "gst/rtp/gstbasertpaudiopayload.h")]
6 public class BaseRTPAudioPayload : Gst.BaseRTPPayload {
7 public Gst.ClockTime base_ts;
8 public int frame_duration;
10 public int sample_size;
11 [CCode (has_construct_function = false)]
12 protected BaseRTPAudioPayload ();
13 public Gst.FlowReturn flush (uint payload_len, Gst.ClockTime timestamp);
14 public unowned Gst.Adapter get_adapter ();
15 public Gst.FlowReturn push (uchar data, uint payload_len, Gst.ClockTime timestamp);
16 public void set_frame_based ();
17 public void set_frame_options (int frame_duration, int frame_size);
18 public void set_sample_based ();
19 public void set_sample_options (int sample_size);
20 public void set_samplebits_options (int sample_size);
22 public bool buffer_list { get; set; }
24 [CCode (cheader_filename = "gst/rtp/gstbasertpdepayload.h")]
25 public class BaseRTPDepayload : Gst.Element {
26 public uint clock_rate;
27 public bool need_newsegment;
28 public weak GLib.Queue queue;
29 public void* queuelock;
30 public weak Gst.Segment segment;
31 public weak Gst.Pad sinkpad;
32 public weak Gst.Pad srcpad;
33 public weak GLib.Thread thread;
34 public bool thread_running;
35 [CCode (has_construct_function = false)]
36 protected BaseRTPDepayload ();
38 public virtual Gst.FlowReturn add_to_queue (Gst.Buffer @in);
40 public virtual bool packet_lost (Gst.Event event);
42 public virtual unowned Gst.Buffer process (Gst.Buffer @in);
43 public Gst.FlowReturn push (Gst.Buffer out_buf);
44 public Gst.FlowReturn push_ts (uint32 timestamp, Gst.Buffer out_buf);
46 public virtual bool set_caps (Gst.Caps caps);
48 public virtual void set_gst_timestamp (uint32 timestamp, Gst.Buffer buf);
50 public uint queue_delay { get; set; }
52 [CCode (cheader_filename = "gst/rtp/gstbasertpaudiopayload.h")]
53 public class BaseRTPPayload : Gst.Element {
55 public uint32 clock_rate;
56 public uint current_ssrc;
58 public weak string encoding_name;
59 public weak string media;
60 public weak Gst.Segment segment;
61 public weak GLib.Rand seq_rand;
62 public uint16 seqnum_base;
63 public weak Gst.Pad sinkpad;
64 public weak Gst.Pad srcpad;
65 public weak GLib.Rand ssrc_rand;
66 public uint32 ts_base;
67 public int32 ts_offset;
68 public weak GLib.Rand ts_rand;
69 [CCode (has_construct_function = false)]
70 protected BaseRTPPayload ();
72 public virtual unowned Gst.Caps get_caps (Gst.Pad pad);
74 public virtual Gst.FlowReturn handle_buffer (Gst.Buffer buffer);
76 public virtual bool handle_event (Gst.Pad pad, Gst.Event event);
77 [CCode (cname = "gst_basertppayload_is_filled")]
78 public bool is_filled (uint size, Gst.ClockTime duration);
79 [CCode (cname = "gst_basertppayload_push")]
80 public Gst.FlowReturn push (Gst.Buffer buffer);
81 [CCode (cname = "gst_basertppayload_push_list")]
82 public Gst.FlowReturn push_list (Gst.BufferList list);
84 public virtual bool set_caps (Gst.Caps caps);
85 [CCode (cname = "gst_basertppayload_set_options")]
86 public void set_options (string media, bool @dynamic, string encoding_name, uint32 clock_rate);
87 [CCode (cname = "gst_basertppayload_set_outcaps")]
88 public bool set_outcaps (string fieldname);
90 public int64 max_ptime { get; set; }
92 public int64 min_ptime { get; set; }
94 public uint mtu { get; set; }
96 public bool perfect_rtptime { get; set; }
98 public uint pt { get; set; }
100 public uint seqnum { get; }
102 public int seqnum_offset { get; set; }
104 public uint ssrc { get; set; }
106 public uint timestamp { get; }
108 public uint timestamp_offset { get; set; }
111 [CCode (cheader_filename = "gst/rtp/gstrtppayloads.h")]
112 public class RTPPayloadInfo {
114 public uint clock_rate;
115 public weak string encoding_name;
116 public weak string encoding_parameters;
117 public weak string media;
118 public uchar payload_type;
119 public static unowned Gst.RTPPayloadInfo for_name (string media, string encoding_name);
120 public static unowned Gst.RTPPayloadInfo for_pt (uchar payload_type);
122 [CCode (type_id = "GST_TYPE_RTCP_PACKET", cheader_filename = "gst/rtp/gstrtcpbuffer.h")]
123 public struct RTCPPacket {
124 public weak Gst.Buffer buffer;
128 public Gst.RTCPType type;
129 public uint16 length;
130 public uint item_offset;
131 public uint item_count;
132 public uint entry_offset;
133 public bool add_rb (uint32 ssrc, uchar fractionlost, int32 packetslost, uint32 exthighestseq, uint32 jitter, uint32 lsr, uint32 dlsr);
134 public bool bye_add_ssrc (uint32 ssrc);
135 public bool bye_add_ssrcs (uint32 ssrc, uint len);
136 public uint32 bye_get_nth_ssrc (uint nth);
137 public unowned string bye_get_reason ();
138 public uchar bye_get_reason_len ();
139 public uint bye_get_ssrc_count ();
140 public bool bye_set_reason (string reason);
141 public uint32 fb_get_media_ssrc ();
142 public uint32 fb_get_sender_ssrc ();
143 public Gst.RTCPFBType fb_get_type ();
144 public void fb_set_media_ssrc (uint32 ssrc);
145 public void fb_set_sender_ssrc (uint32 ssrc);
146 public void fb_set_type (Gst.RTCPFBType type);
147 public uchar get_count ();
148 public uint16 get_length ();
149 public bool get_padding ();
150 public void get_rb (uint nth, uint32 ssrc, uchar fractionlost, int32 packetslost, uint32 exthighestseq, uint32 jitter, uint32 lsr, uint32 dlsr);
151 public uint get_rb_count ();
152 public bool move_to_next ();
153 public bool remove ();
154 public uint32 rr_get_ssrc ();
155 public void rr_set_ssrc (uint32 ssrc);
156 public bool sdes_add_entry (Gst.RTCPSDESType type, uchar len, uchar data);
157 public bool sdes_add_item (uint32 ssrc);
158 public bool sdes_copy_entry (Gst.RTCPSDESType type, uchar len, uchar data);
159 public bool sdes_first_entry ();
160 public bool sdes_first_item ();
161 public bool sdes_get_entry (Gst.RTCPSDESType type, uchar len, uchar data);
162 public uint sdes_get_item_count ();
163 public uint32 sdes_get_ssrc ();
164 public bool sdes_next_entry ();
165 public bool sdes_next_item ();
166 public void set_rb (uint nth, uint32 ssrc, uchar fractionlost, int32 packetslost, uint32 exthighestseq, uint32 jitter, uint32 lsr, uint32 dlsr);
167 public void sr_get_sender_info (uint32 ssrc, uint64 ntptime, uint32 rtptime, uint32 packet_count, uint32 octet_count);
168 public void sr_set_sender_info (uint32 ssrc, uint64 ntptime, uint32 rtptime, uint32 packet_count, uint32 octet_count);
170 [CCode (cprefix = "GST_RTCP_", has_type_id = false, cheader_filename = "gst/rtp/gstrtcpbuffer.h")]
171 public enum RTCPFBType {
179 [CCode (cprefix = "GST_RTCP_SDES_", has_type_id = false, cheader_filename = "gst/rtp/gstrtcpbuffer.h")]
180 public enum RTCPSDESType {
192 [CCode (cprefix = "GST_RTCP_TYPE_", has_type_id = false, cheader_filename = "gst/rtp/gstrtcpbuffer.h")]
193 public enum RTCPType {
203 [CCode (cprefix = "GST_RTP_PAYLOAD_", has_type_id = false, cheader_filename = "gst/rtp/gstbasertpaudiopayload.h")]
204 public enum RTPPayload {
232 [CCode (cheader_filename = "gst/rtp/gstrtcpbuffer.h")]
233 public const int RTCP_MAX_BYE_SSRC_COUNT;
234 [CCode (cheader_filename = "gst/rtp/gstrtcpbuffer.h")]
235 public const int RTCP_MAX_RB_COUNT;
236 [CCode (cheader_filename = "gst/rtp/gstrtcpbuffer.h")]
237 public const int RTCP_MAX_SDES;
238 [CCode (cheader_filename = "gst/rtp/gstrtcpbuffer.h")]
239 public const int RTCP_MAX_SDES_ITEM_COUNT;
240 [CCode (cheader_filename = "gst/rtp/gstrtcpbuffer.h")]
241 public const int RTCP_VALID_MASK;
242 [CCode (cheader_filename = "gst/rtp/gstrtcpbuffer.h")]
243 public const int RTCP_VALID_VALUE;
244 [CCode (cheader_filename = "gst/rtp/gstrtcpbuffer.h")]
245 public const int RTCP_VERSION;
246 [CCode (cheader_filename = "gst/rtp/gstrtppayloads.h")]
247 public const string RTP_PAYLOAD_1016_STRING;
248 [CCode (cheader_filename = "gst/rtp/gstrtppayloads.h")]
249 public const string RTP_PAYLOAD_CELLB_STRING;
250 [CCode (cheader_filename = "gst/rtp/gstrtppayloads.h")]
251 public const string RTP_PAYLOAD_CN_STRING;
252 [CCode (cheader_filename = "gst/rtp/gstrtppayloads.h")]
253 public const string RTP_PAYLOAD_DVI4_11025_STRING;
254 [CCode (cheader_filename = "gst/rtp/gstrtppayloads.h")]
255 public const string RTP_PAYLOAD_DVI4_16000_STRING;
256 [CCode (cheader_filename = "gst/rtp/gstrtppayloads.h")]
257 public const string RTP_PAYLOAD_DVI4_22050_STRING;
258 [CCode (cheader_filename = "gst/rtp/gstrtppayloads.h")]
259 public const string RTP_PAYLOAD_DVI4_8000_STRING;
260 [CCode (cheader_filename = "gst/rtp/gstrtppayloads.h")]
261 public const string RTP_PAYLOAD_DYNAMIC_STRING;
262 [CCode (cheader_filename = "gst/rtp/gstrtppayloads.h")]
263 public const string RTP_PAYLOAD_G721_STRING;
264 [CCode (cheader_filename = "gst/rtp/gstrtppayloads.h")]
265 public const string RTP_PAYLOAD_G722_STRING;
266 [CCode (cheader_filename = "gst/rtp/gstrtppayloads.h")]
267 public const int RTP_PAYLOAD_G723_53;
268 [CCode (cheader_filename = "gst/rtp/gstrtppayloads.h")]
269 public const string RTP_PAYLOAD_G723_53_STRING;
270 [CCode (cheader_filename = "gst/rtp/gstrtppayloads.h")]
271 public const int RTP_PAYLOAD_G723_63;
272 [CCode (cheader_filename = "gst/rtp/gstrtppayloads.h")]
273 public const string RTP_PAYLOAD_G723_63_STRING;
274 [CCode (cheader_filename = "gst/rtp/gstrtppayloads.h")]
275 public const string RTP_PAYLOAD_G723_STRING;
276 [CCode (cheader_filename = "gst/rtp/gstrtppayloads.h")]
277 public const string RTP_PAYLOAD_G728_STRING;
278 [CCode (cheader_filename = "gst/rtp/gstrtppayloads.h")]
279 public const string RTP_PAYLOAD_G729_STRING;
280 [CCode (cheader_filename = "gst/rtp/gstrtppayloads.h")]
281 public const string RTP_PAYLOAD_GSM_STRING;
282 [CCode (cheader_filename = "gst/rtp/gstrtppayloads.h")]
283 public const string RTP_PAYLOAD_H261_STRING;
284 [CCode (cheader_filename = "gst/rtp/gstrtppayloads.h")]
285 public const string RTP_PAYLOAD_H263_STRING;
286 [CCode (cheader_filename = "gst/rtp/gstrtppayloads.h")]
287 public const string RTP_PAYLOAD_JPEG_STRING;
288 [CCode (cheader_filename = "gst/rtp/gstrtppayloads.h")]
289 public const string RTP_PAYLOAD_L16_MONO_STRING;
290 [CCode (cheader_filename = "gst/rtp/gstrtppayloads.h")]
291 public const string RTP_PAYLOAD_L16_STEREO_STRING;
292 [CCode (cheader_filename = "gst/rtp/gstrtppayloads.h")]
293 public const string RTP_PAYLOAD_LPC_STRING;
294 [CCode (cheader_filename = "gst/rtp/gstrtppayloads.h")]
295 public const string RTP_PAYLOAD_MP2T_STRING;
296 [CCode (cheader_filename = "gst/rtp/gstrtppayloads.h")]
297 public const string RTP_PAYLOAD_MPA_STRING;
298 [CCode (cheader_filename = "gst/rtp/gstrtppayloads.h")]
299 public const string RTP_PAYLOAD_MPV_STRING;
300 [CCode (cheader_filename = "gst/rtp/gstrtppayloads.h")]
301 public const string RTP_PAYLOAD_NV_STRING;
302 [CCode (cheader_filename = "gst/rtp/gstrtppayloads.h")]
303 public const string RTP_PAYLOAD_PCMA_STRING;
304 [CCode (cheader_filename = "gst/rtp/gstrtppayloads.h")]
305 public const string RTP_PAYLOAD_PCMU_STRING;
306 [CCode (cheader_filename = "gst/rtp/gstrtppayloads.h")]
307 public const string RTP_PAYLOAD_QCELP_STRING;
308 [CCode (cheader_filename = "gst/rtp/gstrtppayloads.h")]
309 public const int RTP_PAYLOAD_TS41;
310 [CCode (cheader_filename = "gst/rtp/gstrtppayloads.h")]
311 public const string RTP_PAYLOAD_TS41_STRING;
312 [CCode (cheader_filename = "gst/rtp/gstrtppayloads.h")]
313 public const int RTP_PAYLOAD_TS48;
314 [CCode (cheader_filename = "gst/rtp/gstrtppayloads.h")]
315 public const string RTP_PAYLOAD_TS48_STRING;
316 [CCode (cheader_filename = "gst/rtp/gstrtpbuffer.h")]
317 public const int RTP_VERSION;
318 [CCode (cheader_filename = "gst/rtp/gstrtcpbuffer.h")]
319 public static bool rtcp_buffer_add_packet (Gst.Buffer buffer, Gst.RTCPType type, ref Gst.RTCPPacket packet);
320 [CCode (cheader_filename = "gst/rtp/gstrtcpbuffer.h")]
321 public static void rtcp_buffer_end (Gst.Buffer buffer);
322 [CCode (cheader_filename = "gst/rtp/gstrtcpbuffer.h")]
323 public static bool rtcp_buffer_get_first_packet (Gst.Buffer buffer, ref Gst.RTCPPacket packet);
324 [CCode (cheader_filename = "gst/rtp/gstrtcpbuffer.h")]
325 public static uint rtcp_buffer_get_packet_count (Gst.Buffer buffer);
326 [CCode (cheader_filename = "gst/rtp/gstrtcpbuffer.h")]
327 public static unowned Gst.Buffer rtcp_buffer_new (uint mtu);
328 [CCode (cheader_filename = "gst/rtp/gstrtcpbuffer.h")]
329 public static unowned Gst.Buffer rtcp_buffer_new_copy_data (void* data, uint len);
330 [CCode (cheader_filename = "gst/rtp/gstrtcpbuffer.h")]
331 public static unowned Gst.Buffer rtcp_buffer_new_take_data (void* data, uint len);
332 [CCode (cheader_filename = "gst/rtp/gstrtcpbuffer.h")]
333 public static bool rtcp_buffer_validate (Gst.Buffer buffer);
334 [CCode (cheader_filename = "gst/rtp/gstrtcpbuffer.h")]
335 public static bool rtcp_buffer_validate_data (uchar data, uint len);
336 [CCode (cheader_filename = "gst/rtp/gstrtcpbuffer.h")]
337 public static uint64 rtcp_ntp_to_unix (uint64 ntptime);
338 [CCode (cheader_filename = "gst/rtp/gstrtcpbuffer.h")]
339 public static Gst.RTCPSDESType rtcp_sdes_name_to_type (string name);
340 [CCode (cheader_filename = "gst/rtp/gstrtcpbuffer.h")]
341 public static unowned string rtcp_sdes_type_to_name (Gst.RTCPSDESType type);
342 [CCode (cheader_filename = "gst/rtp/gstrtcpbuffer.h")]
343 public static uint64 rtcp_unix_to_ntp (uint64 unixtime);
344 [CCode (cheader_filename = "gst/rtp/gstrtpbuffer.h")]
345 public static void rtp_buffer_allocate_data (Gst.Buffer buffer, uint payload_len, uchar pad_len, uchar csrc_count);
346 [CCode (cheader_filename = "gst/rtp/gstrtpbuffer.h")]
347 public static uint rtp_buffer_calc_header_len (uchar csrc_count);
348 [CCode (cheader_filename = "gst/rtp/gstrtpbuffer.h")]
349 public static uint rtp_buffer_calc_packet_len (uint payload_len, uchar pad_len, uchar csrc_count);
350 [CCode (cheader_filename = "gst/rtp/gstrtpbuffer.h")]
351 public static uint rtp_buffer_calc_payload_len (uint packet_len, uchar pad_len, uchar csrc_count);
352 [CCode (cheader_filename = "gst/rtp/gstrtpbuffer.h")]
353 public static int rtp_buffer_compare_seqnum (uint16 seqnum1, uint16 seqnum2);
354 [CCode (cheader_filename = "gst/rtp/gstrtpbuffer.h")]
355 public static uint32 rtp_buffer_default_clock_rate (uchar payload_type);
356 [CCode (cheader_filename = "gst/rtp/gstrtpbuffer.h")]
357 public static uint64 rtp_buffer_ext_timestamp (uint64 exttimestamp, uint32 timestamp);
358 [CCode (cheader_filename = "gst/rtp/gstrtpbuffer.h")]
359 public static uint32 rtp_buffer_get_csrc (Gst.Buffer buffer, uchar idx);
360 [CCode (cheader_filename = "gst/rtp/gstrtpbuffer.h")]
361 public static uchar rtp_buffer_get_csrc_count (Gst.Buffer buffer);
362 [CCode (cheader_filename = "gst/rtp/gstrtpbuffer.h")]
363 public static bool rtp_buffer_get_extension (Gst.Buffer buffer);
364 [CCode (cheader_filename = "gst/rtp/gstrtpbuffer.h")]
365 public static bool rtp_buffer_get_extension_data (Gst.Buffer buffer, out uint16 bits, out void* data, out uint wordlen);
366 [CCode (cheader_filename = "gst/rtp/gstrtpbuffer.h")]
367 public static uint rtp_buffer_get_header_len (Gst.Buffer buffer);
368 [CCode (cheader_filename = "gst/rtp/gstrtpbuffer.h")]
369 public static bool rtp_buffer_get_marker (Gst.Buffer buffer);
370 [CCode (cheader_filename = "gst/rtp/gstrtpbuffer.h")]
371 public static uint rtp_buffer_get_packet_len (Gst.Buffer buffer);
372 [CCode (cheader_filename = "gst/rtp/gstrtpbuffer.h")]
373 public static bool rtp_buffer_get_padding (Gst.Buffer buffer);
374 [CCode (cheader_filename = "gst/rtp/gstrtpbuffer.h")]
375 public static void* rtp_buffer_get_payload (Gst.Buffer buffer);
376 [CCode (cheader_filename = "gst/rtp/gstrtpbuffer.h")]
377 public static unowned Gst.Buffer rtp_buffer_get_payload_buffer (Gst.Buffer buffer);
378 [CCode (cheader_filename = "gst/rtp/gstrtpbuffer.h")]
379 public static uint rtp_buffer_get_payload_len (Gst.Buffer buffer);
380 [CCode (cheader_filename = "gst/rtp/gstrtpbuffer.h")]
381 public static unowned Gst.Buffer rtp_buffer_get_payload_subbuffer (Gst.Buffer buffer, uint offset, uint len);
382 [CCode (cheader_filename = "gst/rtp/gstrtpbuffer.h")]
383 public static uchar rtp_buffer_get_payload_type (Gst.Buffer buffer);
384 [CCode (cheader_filename = "gst/rtp/gstrtpbuffer.h")]
385 public static uint16 rtp_buffer_get_seq (Gst.Buffer buffer);
386 [CCode (cheader_filename = "gst/rtp/gstrtpbuffer.h")]
387 public static uint32 rtp_buffer_get_ssrc (Gst.Buffer buffer);
388 [CCode (cheader_filename = "gst/rtp/gstrtpbuffer.h")]
389 public static uint32 rtp_buffer_get_timestamp (Gst.Buffer buffer);
390 [CCode (cheader_filename = "gst/rtp/gstrtpbuffer.h")]
391 public static uchar rtp_buffer_get_version (Gst.Buffer buffer);
392 [CCode (cheader_filename = "gst/rtp/gstrtpbuffer.h")]
393 public static uint rtp_buffer_list_get_payload_len (Gst.BufferList list);
394 [CCode (cheader_filename = "gst/rtp/gstrtpbuffer.h")]
395 public static uchar rtp_buffer_list_get_payload_type (Gst.BufferList list);
396 [CCode (cheader_filename = "gst/rtp/gstrtpbuffer.h")]
397 public static uint16 rtp_buffer_list_get_seq (Gst.BufferList list);
398 [CCode (cheader_filename = "gst/rtp/gstrtpbuffer.h")]
399 public static uint32 rtp_buffer_list_get_ssrc (Gst.BufferList list);
400 [CCode (cheader_filename = "gst/rtp/gstrtpbuffer.h")]
401 public static uint32 rtp_buffer_list_get_timestamp (Gst.BufferList list);
402 [CCode (cheader_filename = "gst/rtp/gstrtpbuffer.h")]
403 public static void rtp_buffer_list_set_payload_type (Gst.BufferList list, uchar payload_type);
404 [CCode (cheader_filename = "gst/rtp/gstrtpbuffer.h")]
405 public static uint16 rtp_buffer_list_set_seq (Gst.BufferList list, uint16 seq);
406 [CCode (cheader_filename = "gst/rtp/gstrtpbuffer.h")]
407 public static void rtp_buffer_list_set_ssrc (Gst.BufferList list, uint32 ssrc);
408 [CCode (cheader_filename = "gst/rtp/gstrtpbuffer.h")]
409 public static void rtp_buffer_list_set_timestamp (Gst.BufferList list, uint32 timestamp);
410 [CCode (cheader_filename = "gst/rtp/gstrtpbuffer.h")]
411 public static bool rtp_buffer_list_validate (Gst.BufferList list);
412 [CCode (cheader_filename = "gst/rtp/gstrtpbuffer.h")]
413 public static unowned Gst.Buffer rtp_buffer_new_allocate (uint payload_len, uchar pad_len, uchar csrc_count);
414 [CCode (cheader_filename = "gst/rtp/gstrtpbuffer.h")]
415 public static unowned Gst.Buffer rtp_buffer_new_allocate_len (uint packet_len, uchar pad_len, uchar csrc_count);
416 [CCode (cheader_filename = "gst/rtp/gstrtpbuffer.h")]
417 public static unowned Gst.Buffer rtp_buffer_new_copy_data (void* data, uint len);
418 [CCode (cheader_filename = "gst/rtp/gstrtpbuffer.h")]
419 public static unowned Gst.Buffer rtp_buffer_new_take_data (void* data, uint len);
420 [CCode (cheader_filename = "gst/rtp/gstrtpbuffer.h")]
421 public static void rtp_buffer_pad_to (Gst.Buffer buffer, uint len);
422 [CCode (cheader_filename = "gst/rtp/gstrtpbuffer.h")]
423 public static void rtp_buffer_set_csrc (Gst.Buffer buffer, uchar idx, uint32 csrc);
424 [CCode (cheader_filename = "gst/rtp/gstrtpbuffer.h")]
425 public static void rtp_buffer_set_extension (Gst.Buffer buffer, bool extension);
426 [CCode (cheader_filename = "gst/rtp/gstrtpbuffer.h")]
427 public static bool rtp_buffer_set_extension_data (Gst.Buffer buffer, uint16 bits, uint16 length);
428 [CCode (cheader_filename = "gst/rtp/gstrtpbuffer.h")]
429 public static void rtp_buffer_set_marker (Gst.Buffer buffer, bool marker);
430 [CCode (cheader_filename = "gst/rtp/gstrtpbuffer.h")]
431 public static void rtp_buffer_set_packet_len (Gst.Buffer buffer, uint len);
432 [CCode (cheader_filename = "gst/rtp/gstrtpbuffer.h")]
433 public static void rtp_buffer_set_padding (Gst.Buffer buffer, bool padding);
434 [CCode (cheader_filename = "gst/rtp/gstrtpbuffer.h")]
435 public static void rtp_buffer_set_payload_type (Gst.Buffer buffer, uchar payload_type);
436 [CCode (cheader_filename = "gst/rtp/gstrtpbuffer.h")]
437 public static void rtp_buffer_set_seq (Gst.Buffer buffer, uint16 seq);
438 [CCode (cheader_filename = "gst/rtp/gstrtpbuffer.h")]
439 public static void rtp_buffer_set_ssrc (Gst.Buffer buffer, uint32 ssrc);
440 [CCode (cheader_filename = "gst/rtp/gstrtpbuffer.h")]
441 public static void rtp_buffer_set_timestamp (Gst.Buffer buffer, uint32 timestamp);
442 [CCode (cheader_filename = "gst/rtp/gstrtpbuffer.h")]
443 public static void rtp_buffer_set_version (Gst.Buffer buffer, uchar version);
444 [CCode (cheader_filename = "gst/rtp/gstrtpbuffer.h")]
445 public static bool rtp_buffer_validate (Gst.Buffer buffer);
446 [CCode (cheader_filename = "gst/rtp/gstrtpbuffer.h")]
447 public static bool rtp_buffer_validate_data (uchar data, uint len);