Release 0.41.92
[vala-gnome.git] / vapi / gstreamer-rtp-1.0.vapi
blob138b8ccde0638d7921e163d1721a98f6cef952f8
1 /* gstreamer-rtp-1.0.vapi generated by vapigen, do not modify. */
3 [CCode (cprefix = "Gst", gir_namespace = "GstRtp", gir_version = "1.0", lower_case_cprefix = "gst_")]
4 namespace Gst {
5         namespace RTP {
6                 [CCode (cheader_filename = "gst/rtp/rtp.h", type_id = "gst_rtp_base_audio_payload_get_type ()")]
7                 [GIR (name = "RTPBaseAudioPayload")]
8                 public class BaseAudioPayload : Gst.RTP.BasePayload {
9                         public Gst.ClockTime base_ts;
10                         public int frame_duration;
11                         public int frame_size;
12                         public int sample_size;
13                         [CCode (has_construct_function = false)]
14                         protected BaseAudioPayload ();
15                         public Gst.FlowReturn flush (uint payload_len, Gst.ClockTime timestamp);
16                         public Gst.Base.Adapter get_adapter ();
17                         public Gst.FlowReturn push ([CCode (array_length_cname = "payload_len", array_length_pos = 1.5, array_length_type = "guint")] uint8[] data, Gst.ClockTime timestamp);
18                         public void set_frame_based ();
19                         public void set_frame_options (int frame_duration, int frame_size);
20                         public void set_sample_based ();
21                         public void set_sample_options (int sample_size);
22                         public void set_samplebits_options (int sample_size);
23                         [NoAccessorMethod]
24                         public bool buffer_list { get; set; }
25                 }
26                 [CCode (cheader_filename = "gst/rtp/rtp.h", type_id = "gst_rtp_base_depayload_get_type ()")]
27                 [GIR (name = "RTPBaseDepayload")]
28                 public abstract class BaseDepayload : Gst.Element {
29                         public uint clock_rate;
30                         public bool need_newsegment;
31                         public weak Gst.Segment segment;
32                         public weak Gst.Pad sinkpad;
33                         public weak Gst.Pad srcpad;
34                         [CCode (has_construct_function = false)]
35                         protected BaseDepayload ();
36                         [NoWrapper]
37                         public virtual bool handle_event (Gst.Event event);
38                         [NoWrapper]
39                         public virtual bool packet_lost (Gst.Event event);
40                         [NoWrapper]
41                         public virtual Gst.Buffer process (Gst.Buffer @in);
42                         [NoWrapper]
43                         public virtual Gst.Buffer process_rtp_packet (Gst.RTP.Buffer rtp_buffer);
44                         public Gst.FlowReturn push (Gst.Buffer out_buf);
45                         public Gst.FlowReturn push_list (Gst.BufferList out_list);
46                         [NoWrapper]
47                         public virtual bool set_caps (Gst.Caps caps);
48                         [NoAccessorMethod]
49                         public Gst.Structure stats { owned get; }
50                 }
51                 [CCode (cheader_filename = "gst/rtp/rtp.h", type_id = "gst_rtp_base_payload_get_type ()")]
52                 [GIR (name = "RTPBasePayload")]
53                 public abstract class BasePayload : Gst.Element {
54                         [CCode (has_construct_function = false)]
55                         protected BasePayload ();
56                         [NoWrapper]
57                         public virtual Gst.Caps get_caps (Gst.Pad pad, Gst.Caps filter);
58                         [NoWrapper]
59                         public virtual Gst.FlowReturn handle_buffer (Gst.Buffer buffer);
60                         public bool is_filled (uint size, Gst.ClockTime duration);
61                         public Gst.FlowReturn push (Gst.Buffer buffer);
62                         public Gst.FlowReturn push_list (Gst.BufferList list);
63                         [NoWrapper]
64                         public virtual bool query (Gst.Pad pad, Gst.Query query);
65                         [NoWrapper]
66                         public virtual bool set_caps (Gst.Caps caps);
67                         public void set_options (string media, bool @dynamic, string encoding_name, uint32 clock_rate);
68                         [NoWrapper]
69                         public virtual bool sink_event (Gst.Event event);
70                         [NoWrapper]
71                         public virtual bool src_event (Gst.Event event);
72                         [NoAccessorMethod]
73                         public int64 max_ptime { get; set; }
74                         [NoAccessorMethod]
75                         public int64 min_ptime { get; set; }
76                         [NoAccessorMethod]
77                         public uint mtu { get; set; }
78                         [NoAccessorMethod]
79                         public bool perfect_rtptime { get; set; }
80                         [NoAccessorMethod]
81                         public uint pt { get; set; }
82                         [NoAccessorMethod]
83                         public int64 ptime_multiple { get; set; }
84                         [NoAccessorMethod]
85                         public uint seqnum { get; }
86                         [NoAccessorMethod]
87                         public int seqnum_offset { get; set; }
88                         [NoAccessorMethod]
89                         public uint ssrc { get; set; }
90                         [NoAccessorMethod]
91                         public Gst.Structure stats { owned get; }
92                         [NoAccessorMethod]
93                         public uint timestamp { get; }
94                         [NoAccessorMethod]
95                         public uint timestamp_offset { get; set; }
96                 }
97                 [CCode (cheader_filename = "gst/rtp/rtp.h", has_type_id = false)]
98                 [Compact]
99                 [GIR (name = "RTPBuffer")]
100                 public class Buffer : Gst.Buffer {
101                         [CCode (array_length = false)]
102                         public weak void* data[4];
103                         [CCode (array_length = false)]
104                         public Gst.MapInfo map[4];
105                         [CCode (array_length = false)]
106                         public weak size_t size[4];
107                         public uint state;
108                         public bool add_extension_onebyte_header (uint8 id, [CCode (array_length_cname = "size", array_length_pos = 2.1, array_length_type = "guint")] uint8[] data);
109                         public bool add_extension_twobytes_header (uint8 appbits, uint8 id, [CCode (array_length_cname = "size", array_length_pos = 3.1, array_length_type = "guint")] uint8[] data);
110                         public uint32 get_csrc (uint8 idx);
111                         public uint8 get_csrc_count ();
112                         public bool get_extension ();
113                         [Version (since = "1.2")]
114                         public GLib.Bytes get_extension_bytes (out uint16 bits);
115                         public bool get_extension_data (out uint16 bits, [CCode (array_length = false)] out unowned uint8[] data, out uint wordlen);
116                         public bool get_extension_onebyte_header (uint8 id, uint nth, [CCode (array_length_cname = "size", array_length_pos = 3.1, array_length_type = "guint")] out unowned uint8[] data);
117                         public bool get_extension_twobytes_header (out uint8 appbits, uint8 id, uint nth, [CCode (array_length_cname = "size", array_length_pos = 4.1, array_length_type = "guint")] out unowned uint8[] data);
118                         public uint get_header_len ();
119                         public bool get_marker ();
120                         public uint get_packet_len ();
121                         public bool get_padding ();
122                         [CCode (array_length = false)]
123                         public unowned uint8[] get_payload ();
124                         public Gst.Buffer get_payload_buffer ();
125                         [Version (since = "1.2")]
126                         public GLib.Bytes get_payload_bytes ();
127                         public uint get_payload_len ();
128                         public Gst.Buffer get_payload_subbuffer (uint offset, uint len);
129                         public uint8 get_payload_type ();
130                         public uint16 get_seq ();
131                         public uint32 get_ssrc ();
132                         public uint32 get_timestamp ();
133                         public uint8 get_version ();
134                         public void pad_to (uint len);
135                         public void set_csrc (uint8 idx, uint32 csrc);
136                         public void set_extension (bool extension);
137                         public bool set_extension_data (uint16 bits, uint16 length);
138                         public void set_marker (bool marker);
139                         public void set_packet_len (uint len);
140                         public void set_padding (bool padding);
141                         public void set_payload_type (uint8 payload_type);
142                         public void set_seq (uint16 seq);
143                         public void set_ssrc (uint32 ssrc);
144                         public void set_timestamp (uint32 timestamp);
145                         public void set_version (uint8 version);
146                         public void unmap ();
147                 }
148                 [CCode (cheader_filename = "gst/rtp/rtp.h", has_type_id = false)]
149                 [GIR (name = "RTPPayloadInfo")]
150                 public struct PayloadInfo {
151                         public uint8 payload_type;
152                         public weak string media;
153                         public weak string encoding_name;
154                         public uint clock_rate;
155                         public weak string encoding_parameters;
156                         public uint bitrate;
157                 }
158                 [CCode (cheader_filename = "gst/rtp/rtp.h", cprefix = "GST_RTP_BUFFER_FLAG_", type_id = "gst_rtp_buffer_flags_get_type ()")]
159                 [Flags]
160                 [GIR (name = "RTPBufferFlags")]
161                 [Version (since = "1.10")]
162                 public enum BufferFlags {
163                         RETRANSMISSION,
164                         REDUNDANT,
165                         LAST
166                 }
167                 [CCode (cheader_filename = "gst/rtp/rtp.h", cprefix = "GST_RTP_BUFFER_MAP_FLAG_", type_id = "gst_rtp_buffer_map_flags_get_type ()")]
168                 [Flags]
169                 [GIR (name = "RTPBufferMapFlags")]
170                 [Version (since = "1.6.1")]
171                 public enum BufferMapFlags {
172                         SKIP_PADDING,
173                         LAST
174                 }
175                 [CCode (cheader_filename = "gst/rtp/rtp.h", cprefix = "GST_RTP_PAYLOAD_", type_id = "gst_rtp_payload_get_type ()")]
176                 [GIR (name = "RTPPayload")]
177                 public enum Payload {
178                         PCMU,
179                         @1016,
180                         G721,
181                         GSM,
182                         G723,
183                         DVI4_8000,
184                         DVI4_16000,
185                         LPC,
186                         PCMA,
187                         G722,
188                         L16_STEREO,
189                         L16_MONO,
190                         QCELP,
191                         CN,
192                         MPA,
193                         G728,
194                         DVI4_11025,
195                         DVI4_22050,
196                         G729,
197                         CELLB,
198                         JPEG,
199                         NV,
200                         H261,
201                         MPV,
202                         MP2T,
203                         H263;
204                         public const string @1016_STRING;
205                         public const string CELLB_STRING;
206                         public const string CN_STRING;
207                         public const string DVI4_11025_STRING;
208                         public const string DVI4_16000_STRING;
209                         public const string DVI4_22050_STRING;
210                         public const string DVI4_8000_STRING;
211                         public const string DYNAMIC_STRING;
212                         public const string G721_STRING;
213                         public const string G722_STRING;
214                         public const int G723_53;
215                         public const string G723_53_STRING;
216                         public const int G723_63;
217                         public const string G723_63_STRING;
218                         public const string G723_STRING;
219                         public const string G728_STRING;
220                         public const string G729_STRING;
221                         public const string GSM_STRING;
222                         public const string H261_STRING;
223                         public const string H263_STRING;
224                         public const string JPEG_STRING;
225                         public const string L16_MONO_STRING;
226                         public const string L16_STEREO_STRING;
227                         public const string LPC_STRING;
228                         public const string MP2T_STRING;
229                         public const string MPA_STRING;
230                         public const string MPV_STRING;
231                         public const string NV_STRING;
232                         public const string PCMA_STRING;
233                         public const string PCMU_STRING;
234                         public const string QCELP_STRING;
235                         public const int TS41;
236                         public const string TS41_STRING;
237                         public const int TS48;
238                         public const string TS48_STRING;
239                 }
240                 [CCode (cheader_filename = "gst/rtp/rtp.h", cprefix = "GST_RTP_PROFILE_", type_id = "gst_rtp_profile_get_type ()")]
241                 [GIR (name = "RTPProfile")]
242                 [Version (since = "1.6")]
243                 public enum Profile {
244                         UNKNOWN,
245                         AVP,
246                         SAVP,
247                         AVPF,
248                         SAVPF
249                 }
250                 [CCode (cheader_filename = "gst/rtp/rtp.h", cname = "GST_RTP_HDREXT_BASE")]
251                 public const string HDREXT_BASE;
252                 [CCode (cheader_filename = "gst/rtp/rtp.h", cname = "GST_RTP_HDREXT_NTP_56")]
253                 public const string HDREXT_NTP_56;
254                 [CCode (cheader_filename = "gst/rtp/rtp.h", cname = "GST_RTP_HDREXT_NTP_56_SIZE")]
255                 public const int HDREXT_NTP_56_SIZE;
256                 [CCode (cheader_filename = "gst/rtp/rtp.h", cname = "GST_RTP_HDREXT_NTP_64")]
257                 public const string HDREXT_NTP_64;
258                 [CCode (cheader_filename = "gst/rtp/rtp.h", cname = "GST_RTP_HDREXT_NTP_64_SIZE")]
259                 public const int HDREXT_NTP_64_SIZE;
260                 [CCode (cheader_filename = "gst/rtp/rtp.h", cname = "GST_RTP_VERSION")]
261                 public const int VERSION;
262                 [CCode (cheader_filename = "gst/rtp/rtp.h")]
263                 public static void buffer_allocate_data (Gst.Buffer buffer, uint payload_len, uint8 pad_len, uint8 csrc_count);
264                 [CCode (cheader_filename = "gst/rtp/rtp.h")]
265                 public static uint buffer_calc_header_len (uint8 csrc_count);
266                 [CCode (cheader_filename = "gst/rtp/rtp.h")]
267                 public static uint buffer_calc_packet_len (uint payload_len, uint8 pad_len, uint8 csrc_count);
268                 [CCode (cheader_filename = "gst/rtp/rtp.h")]
269                 public static uint buffer_calc_payload_len (uint packet_len, uint8 pad_len, uint8 csrc_count);
270                 [CCode (cheader_filename = "gst/rtp/rtp.h")]
271                 public static int buffer_compare_seqnum (uint16 seqnum1, uint16 seqnum2);
272                 [CCode (cheader_filename = "gst/rtp/rtp.h")]
273                 public static uint32 buffer_default_clock_rate (uint8 payload_type);
274                 [CCode (cheader_filename = "gst/rtp/rtp.h")]
275                 public static uint64 buffer_ext_timestamp (ref uint64 exttimestamp, uint32 timestamp);
276                 [CCode (cheader_filename = "gst/rtp/rtp.h")]
277                 public static bool buffer_map (Gst.Buffer buffer, Gst.MapFlags flags, out unowned Gst.RTP.Buffer rtp);
278                 [CCode (cheader_filename = "gst/rtp/rtp.h")]
279                 public static Gst.Buffer buffer_new_allocate (uint payload_len, uint8 pad_len, uint8 csrc_count);
280                 [CCode (cheader_filename = "gst/rtp/rtp.h")]
281                 public static Gst.Buffer buffer_new_allocate_len (uint packet_len, uint8 pad_len, uint8 csrc_count);
282                 [CCode (cheader_filename = "gst/rtp/rtp.h")]
283                 public static Gst.Buffer buffer_new_copy_data ([CCode (array_length_cname = "len", array_length_pos = 1.1, array_length_type = "gsize")] uint8[] data);
284                 [CCode (cheader_filename = "gst/rtp/rtp.h")]
285                 public static Gst.Buffer buffer_new_take_data ([CCode (array_length_cname = "len", array_length_pos = 1.1, array_length_type = "gsize")] owned uint8[] data);
286                 [CCode (cheader_filename = "gst/rtp/rtp.h")]
287                 public static bool hdrext_get_ntp_56 ([CCode (array_length_cname = "size", array_length_pos = 1.5, array_length_type = "guint")] uint8[] data, out uint64 ntptime);
288                 [CCode (cheader_filename = "gst/rtp/rtp.h")]
289                 public static bool hdrext_get_ntp_64 ([CCode (array_length_cname = "size", array_length_pos = 1.5, array_length_type = "guint")] uint8[] data, out uint64 ntptime);
290                 [CCode (cheader_filename = "gst/rtp/rtp.h")]
291                 public static bool hdrext_set_ntp_56 (void* data, uint size, uint64 ntptime);
292                 [CCode (cheader_filename = "gst/rtp/rtp.h")]
293                 public static bool hdrext_set_ntp_64 (void* data, uint size, uint64 ntptime);
294                 [CCode (cheader_filename = "gst/rtp/rtp.h")]
295                 public static unowned Gst.RTP.PayloadInfo? payload_info_for_name (string media, string encoding_name);
296                 [CCode (cheader_filename = "gst/rtp/rtp.h")]
297                 public static unowned Gst.RTP.PayloadInfo? payload_info_for_pt (uint8 payload_type);
298         }
299         namespace RTPC {
300                 [CCode (cheader_filename = "gst/rtp/rtp.h", cname = "GstRTCPBuffer", has_type_id = false)]
301                 [Compact]
302                 [GIR (name = "RTCPBuffer")]
303                 public class Buffer : Gst.Buffer {
304                         public Gst.MapInfo map;
305                         [CCode (cname = "gst_rtcp_buffer_add_packet")]
306                         public bool add_packet (Gst.RTPC.Type type, Gst.RTPC.Packet packet);
307                         [CCode (cname = "gst_rtcp_buffer_get_first_packet")]
308                         public bool get_first_packet (Gst.RTPC.Packet packet);
309                         [CCode (cname = "gst_rtcp_buffer_get_packet_count")]
310                         public uint get_packet_count ();
311                         [CCode (cname = "gst_rtcp_buffer_unmap")]
312                         public bool unmap ();
313                 }
314                 [CCode (cheader_filename = "gst/rtp/rtp.h", cname = "GstRTCPPacket", has_type_id = false)]
315                 [GIR (name = "RTCPPacket")]
316                 public struct Packet {
317                         public weak Gst.RTPC.Buffer rtcp;
318                         public uint offset;
319                         [CCode (cname = "gst_rtcp_packet_add_profile_specific_ext")]
320                         public bool add_profile_specific_ext ([CCode (array_length_cname = "len", array_length_pos = 1.1, array_length_type = "guint")] uint8[] data);
321                         [CCode (cname = "gst_rtcp_packet_add_rb")]
322                         public bool add_rb (uint32 ssrc, uint8 fractionlost, int32 packetslost, uint32 exthighestseq, uint32 jitter, uint32 lsr, uint32 dlsr);
323                         [CCode (cname = "gst_rtcp_packet_app_get_data")]
324                         [Version (since = "1.10")]
325                         public uint8 app_get_data ();
326                         [CCode (cname = "gst_rtcp_packet_app_get_data_length")]
327                         [Version (since = "1.10")]
328                         public uint16 app_get_data_length ();
329                         [CCode (cname = "gst_rtcp_packet_app_get_name")]
330                         [Version (since = "1.10")]
331                         public unowned string app_get_name ();
332                         [CCode (cname = "gst_rtcp_packet_app_get_ssrc")]
333                         [Version (since = "1.10")]
334                         public uint32 app_get_ssrc ();
335                         [CCode (cname = "gst_rtcp_packet_app_get_subtype")]
336                         [Version (since = "1.10")]
337                         public uint8 app_get_subtype ();
338                         [CCode (cname = "gst_rtcp_packet_app_set_data_length")]
339                         [Version (since = "1.10")]
340                         public bool app_set_data_length (uint16 wordlen);
341                         [CCode (cname = "gst_rtcp_packet_app_set_name")]
342                         [Version (since = "1.10")]
343                         public void app_set_name (string name);
344                         [CCode (cname = "gst_rtcp_packet_app_set_ssrc")]
345                         [Version (since = "1.10")]
346                         public void app_set_ssrc (uint32 ssrc);
347                         [CCode (cname = "gst_rtcp_packet_app_set_subtype")]
348                         [Version (since = "1.10")]
349                         public void app_set_subtype (uint8 subtype);
350                         [CCode (cname = "gst_rtcp_packet_bye_add_ssrc")]
351                         public bool bye_add_ssrc (uint32 ssrc);
352                         [CCode (cname = "gst_rtcp_packet_bye_add_ssrcs")]
353                         public bool bye_add_ssrcs ([CCode (array_length_cname = "len", array_length_pos = 1.1, array_length_type = "guint")] uint32[] ssrc);
354                         [CCode (cname = "gst_rtcp_packet_bye_get_nth_ssrc")]
355                         public uint32 bye_get_nth_ssrc (uint nth);
356                         [CCode (cname = "gst_rtcp_packet_bye_get_reason")]
357                         public string bye_get_reason ();
358                         [CCode (cname = "gst_rtcp_packet_bye_get_reason_len")]
359                         public uint8 bye_get_reason_len ();
360                         [CCode (cname = "gst_rtcp_packet_bye_get_ssrc_count")]
361                         public uint bye_get_ssrc_count ();
362                         [CCode (cname = "gst_rtcp_packet_bye_set_reason")]
363                         public bool bye_set_reason (string reason);
364                         [CCode (cname = "gst_rtcp_packet_copy_profile_specific_ext")]
365                         public bool copy_profile_specific_ext ([CCode (array_length_cname = "len", array_length_pos = 1.1, array_length_type = "guint")] out uint8[] data);
366                         [CCode (cname = "gst_rtcp_packet_fb_get_fci")]
367                         public uint8 fb_get_fci ();
368                         [CCode (cname = "gst_rtcp_packet_fb_get_fci_length")]
369                         public uint16 fb_get_fci_length ();
370                         [CCode (cname = "gst_rtcp_packet_fb_get_media_ssrc")]
371                         public uint32 fb_get_media_ssrc ();
372                         [CCode (cname = "gst_rtcp_packet_fb_get_sender_ssrc")]
373                         public uint32 fb_get_sender_ssrc ();
374                         [CCode (cname = "gst_rtcp_packet_fb_get_type")]
375                         public Gst.RTPC.FBType fb_get_type ();
376                         [CCode (cname = "gst_rtcp_packet_fb_set_fci_length")]
377                         public bool fb_set_fci_length (uint16 wordlen);
378                         [CCode (cname = "gst_rtcp_packet_fb_set_media_ssrc")]
379                         public void fb_set_media_ssrc (uint32 ssrc);
380                         [CCode (cname = "gst_rtcp_packet_fb_set_sender_ssrc")]
381                         public void fb_set_sender_ssrc (uint32 ssrc);
382                         [CCode (cname = "gst_rtcp_packet_fb_set_type")]
383                         public void fb_set_type (Gst.RTPC.FBType type);
384                         [CCode (cname = "gst_rtcp_packet_get_count")]
385                         public uint8 get_count ();
386                         [CCode (cname = "gst_rtcp_packet_get_length")]
387                         public uint16 get_length ();
388                         [CCode (cname = "gst_rtcp_packet_get_padding")]
389                         public bool get_padding ();
390                         [CCode (cname = "gst_rtcp_packet_get_profile_specific_ext")]
391                         public bool get_profile_specific_ext ([CCode (array_length_cname = "len", array_length_pos = 1.1, array_length_type = "guint")] out unowned uint8[] data);
392                         [CCode (cname = "gst_rtcp_packet_get_profile_specific_ext_length")]
393                         public uint16 get_profile_specific_ext_length ();
394                         [CCode (cname = "gst_rtcp_packet_get_rb")]
395                         public void get_rb (uint nth, out uint32 ssrc, out uint8 fractionlost, out int32 packetslost, out uint32 exthighestseq, out uint32 jitter, out uint32 lsr, out uint32 dlsr);
396                         [CCode (cname = "gst_rtcp_packet_get_rb_count")]
397                         public uint get_rb_count ();
398                         [CCode (cname = "gst_rtcp_packet_get_type")]
399                         public Gst.RTPC.Type get_type ();
400                         [CCode (cname = "gst_rtcp_packet_move_to_next")]
401                         public bool move_to_next ();
402                         [CCode (cname = "gst_rtcp_packet_remove")]
403                         public bool remove ();
404                         [CCode (cname = "gst_rtcp_packet_rr_get_ssrc")]
405                         public uint32 rr_get_ssrc ();
406                         [CCode (cname = "gst_rtcp_packet_rr_set_ssrc")]
407                         public void rr_set_ssrc (uint32 ssrc);
408                         [CCode (cname = "gst_rtcp_packet_sdes_add_entry")]
409                         public bool sdes_add_entry (Gst.RTPC.SDESType type, [CCode (array_length_cname = "len", array_length_pos = 1.5, array_length_type = "guint8")] uint8[] data);
410                         [CCode (cname = "gst_rtcp_packet_sdes_add_item")]
411                         public bool sdes_add_item (uint32 ssrc);
412                         [CCode (cname = "gst_rtcp_packet_sdes_copy_entry")]
413                         public bool sdes_copy_entry (Gst.RTPC.SDESType type, [CCode (array_length_cname = "len", array_length_pos = 1.5, array_length_type = "guint8")] out uint8[] data);
414                         [CCode (cname = "gst_rtcp_packet_sdes_first_entry")]
415                         public bool sdes_first_entry ();
416                         [CCode (cname = "gst_rtcp_packet_sdes_first_item")]
417                         public bool sdes_first_item ();
418                         [CCode (cname = "gst_rtcp_packet_sdes_get_entry")]
419                         public bool sdes_get_entry (Gst.RTPC.SDESType type, [CCode (array_length_cname = "len", array_length_pos = 1.5, array_length_type = "guint8")] out unowned uint8[] data);
420                         [CCode (cname = "gst_rtcp_packet_sdes_get_item_count")]
421                         public uint sdes_get_item_count ();
422                         [CCode (cname = "gst_rtcp_packet_sdes_get_ssrc")]
423                         public uint32 sdes_get_ssrc ();
424                         [CCode (cname = "gst_rtcp_packet_sdes_next_entry")]
425                         public bool sdes_next_entry ();
426                         [CCode (cname = "gst_rtcp_packet_sdes_next_item")]
427                         public bool sdes_next_item ();
428                         [CCode (cname = "gst_rtcp_packet_set_rb")]
429                         public void set_rb (uint nth, uint32 ssrc, uint8 fractionlost, int32 packetslost, uint32 exthighestseq, uint32 jitter, uint32 lsr, uint32 dlsr);
430                         [CCode (cname = "gst_rtcp_packet_sr_get_sender_info")]
431                         public void sr_get_sender_info (out uint32 ssrc, out uint64 ntptime, out uint32 rtptime, out uint32 packet_count, out uint32 octet_count);
432                         [CCode (cname = "gst_rtcp_packet_sr_set_sender_info")]
433                         public void sr_set_sender_info (uint32 ssrc, uint64 ntptime, uint32 rtptime, uint32 packet_count, uint32 octet_count);
434                 }
435                 [CCode (cheader_filename = "gst/rtp/rtp.h", cname = "GstRTCPFBType", cprefix = "GST_RTCP_", type_id = "gst_rtcpfb_type_get_type ()")]
436                 [GIR (name = "RTCPFBType")]
437                 public enum FBType {
438                         FB_TYPE_INVALID,
439                         RTPFB_TYPE_NACK,
440                         RTPFB_TYPE_TMMBR,
441                         RTPFB_TYPE_TMMBN,
442                         RTPFB_TYPE_RTCP_SR_REQ,
443                         PSFB_TYPE_PLI,
444                         PSFB_TYPE_SLI,
445                         PSFB_TYPE_RPSI,
446                         PSFB_TYPE_AFB,
447                         PSFB_TYPE_FIR,
448                         PSFB_TYPE_TSTR,
449                         PSFB_TYPE_TSTN,
450                         PSFB_TYPE_VBCN
451                 }
452                 [CCode (cheader_filename = "gst/rtp/rtp.h", cname = "GstRTCPSDESType", cprefix = "GST_RTCP_SDES_", type_id = "gst_rtcpsdes_type_get_type ()")]
453                 [GIR (name = "RTCPSDESType")]
454                 public enum SDESType {
455                         INVALID,
456                         END,
457                         CNAME,
458                         NAME,
459                         EMAIL,
460                         PHONE,
461                         LOC,
462                         TOOL,
463                         NOTE,
464                         PRIV
465                 }
466                 [CCode (cheader_filename = "gst/rtp/rtp.h", cname = "GstRTCPType", cprefix = "GST_RTCP_TYPE_", type_id = "gst_rtcp_type_get_type ()")]
467                 [GIR (name = "RTCPType")]
468                 public enum Type {
469                         INVALID,
470                         SR,
471                         RR,
472                         SDES,
473                         BYE,
474                         APP,
475                         RTPFB,
476                         PSFB,
477                         XR
478                 }
479                 [CCode (cheader_filename = "gst/rtp/rtp.h", cname = "GST_RTCP_MAX_BYE_SSRC_COUNT")]
480                 public const int MAX_BYE_SSRC_COUNT;
481                 [CCode (cheader_filename = "gst/rtp/rtp.h", cname = "GST_RTCP_MAX_RB_COUNT")]
482                 public const int MAX_RB_COUNT;
483                 [CCode (cheader_filename = "gst/rtp/rtp.h", cname = "GST_RTCP_MAX_SDES")]
484                 public const int MAX_SDES;
485                 [CCode (cheader_filename = "gst/rtp/rtp.h", cname = "GST_RTCP_MAX_SDES_ITEM_COUNT")]
486                 public const int MAX_SDES_ITEM_COUNT;
487                 [CCode (cheader_filename = "gst/rtp/rtp.h", cname = "GST_RTCP_REDUCED_SIZE_VALID_MASK")]
488                 public const int REDUCED_SIZE_VALID_MASK;
489                 [CCode (cheader_filename = "gst/rtp/rtp.h", cname = "GST_RTCP_VALID_MASK")]
490                 public const int VALID_MASK;
491                 [CCode (cheader_filename = "gst/rtp/rtp.h", cname = "GST_RTCP_VALID_VALUE")]
492                 public const int VALID_VALUE;
493                 [CCode (cheader_filename = "gst/rtp/rtp.h", cname = "GST_RTCP_VERSION")]
494                 public const int VERSION;
495                 [CCode (cheader_filename = "gst/rtp/rtp.h", cname = "gst_rtcp_buffer_map")]
496                 public static bool buffer_map (Gst.Buffer buffer, Gst.MapFlags flags, Gst.RTPC.Buffer rtcp);
497                 [CCode (cheader_filename = "gst/rtp/rtp.h", cname = "gst_rtcp_buffer_new")]
498                 public static Gst.Buffer buffer_new (uint mtu);
499                 [CCode (cheader_filename = "gst/rtp/rtp.h", cname = "gst_rtcp_buffer_new_copy_data")]
500                 public static Gst.Buffer buffer_new_copy_data ([CCode (array_length_cname = "len", array_length_pos = 1.1, array_length_type = "guint")] uint8[] data);
501                 [CCode (cheader_filename = "gst/rtp/rtp.h", cname = "gst_rtcp_buffer_new_take_data")]
502                 public static Gst.Buffer buffer_new_take_data ([CCode (array_length_cname = "len", array_length_pos = 1.1, array_length_type = "guint")] uint8[] data);
503                 [CCode (cheader_filename = "gst/rtp/rtp.h", cname = "gst_rtcp_buffer_validate")]
504                 public static bool buffer_validate (Gst.Buffer buffer);
505                 [CCode (cheader_filename = "gst/rtp/rtp.h", cname = "gst_rtcp_buffer_validate_data")]
506                 public static bool buffer_validate_data ([CCode (array_length_cname = "len", array_length_pos = 1.1, array_length_type = "guint")] uint8[] data);
507                 [CCode (cheader_filename = "gst/rtp/rtp.h", cname = "gst_rtcp_buffer_validate_data_reduced")]
508                 [Version (since = "1.6")]
509                 public static bool buffer_validate_data_reduced ([CCode (array_length_cname = "len", array_length_pos = 1.1, array_length_type = "guint")] uint8[] data);
510                 [CCode (cheader_filename = "gst/rtp/rtp.h", cname = "gst_rtcp_buffer_validate_reduced")]
511                 [Version (since = "1.6")]
512                 public static bool buffer_validate_reduced (Gst.Buffer buffer);
513                 [CCode (cheader_filename = "gst/rtp/rtp.h", cname = "gst_rtcp_ntp_to_unix")]
514                 public static uint64 ntp_to_unix (uint64 ntptime);
515                 [CCode (cheader_filename = "gst/rtp/rtp.h", cname = "gst_rtcp_sdes_name_to_type")]
516                 public static Gst.RTPC.SDESType sdes_name_to_type (string name);
517                 [CCode (cheader_filename = "gst/rtp/rtp.h", cname = "gst_rtcp_sdes_type_to_name")]
518                 public static unowned string sdes_type_to_name (Gst.RTPC.SDESType type);
519                 [CCode (cheader_filename = "gst/rtp/rtp.h", cname = "gst_rtcp_unix_to_ntp")]
520                 public static uint64 unix_to_ntp (uint64 unixtime);
521         }