/usr/share/vala-0.20/vapi/gstreamer-rtp-1.0.vapi is in valac-0.20-vapi 0.20.1-2ubuntu5.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
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 | /* gstreamer-rtp-1.0.vapi generated by vapigen, do not modify. */
[CCode (cprefix = "Gst", gir_namespace = "GstRtp", gir_version = "1.0", lower_case_cprefix = "gst_")]
namespace Gst {
namespace RTP {
[CCode (cheader_filename = "gst/rtp/gstrtcpbuffer.h,gst/rtp/gstrtpbaseaudiopayload.h,gst/rtp/gstrtpbasedepayload.h,gst/rtp/gstrtpbasepayload.h,gst/rtp/gstrtpbuffer.h,gst/rtp/gstrtppayloads.h", type_id = "gst_rtp_base_audio_payload_get_type ()")]
[GIR (name = "RTPBaseAudioPayload")]
public class BaseAudioPayload : Gst.RTP.BasePayload {
public Gst.ClockTime base_ts;
public int frame_duration;
public int frame_size;
public int sample_size;
[CCode (has_construct_function = false)]
protected BaseAudioPayload ();
public Gst.FlowReturn flush (uint payload_len, Gst.ClockTime timestamp);
public Gst.Base.Adapter get_adapter ();
public Gst.FlowReturn push (uint8 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/gstrtcpbuffer.h,gst/rtp/gstrtpbaseaudiopayload.h,gst/rtp/gstrtpbasedepayload.h,gst/rtp/gstrtpbasepayload.h,gst/rtp/gstrtpbuffer.h,gst/rtp/gstrtppayloads.h", type_id = "gst_rtp_base_depayload_get_type ()")]
[GIR (name = "RTPBaseDepayload")]
public abstract class BaseDepayload : Gst.Element {
public uint clock_rate;
public bool need_newsegment;
public weak Gst.Segment segment;
public weak Gst.Pad sinkpad;
public weak Gst.Pad srcpad;
[CCode (has_construct_function = false)]
protected BaseDepayload ();
[NoWrapper]
public virtual bool handle_event (Gst.Event event);
[NoWrapper]
public virtual bool packet_lost (Gst.Event event);
[NoWrapper]
public virtual Gst.Buffer process (Gst.Buffer @in);
public Gst.FlowReturn push (Gst.Buffer out_buf);
public Gst.FlowReturn push_list (Gst.BufferList out_list);
[NoWrapper]
public virtual bool set_caps (Gst.Caps caps);
}
[CCode (cheader_filename = "gst/rtp/gstrtcpbuffer.h,gst/rtp/gstrtpbaseaudiopayload.h,gst/rtp/gstrtpbasedepayload.h,gst/rtp/gstrtpbasepayload.h,gst/rtp/gstrtpbuffer.h,gst/rtp/gstrtppayloads.h", type_id = "gst_rtp_base_payload_get_type ()")]
[GIR (name = "RTPBasePayload")]
public abstract class BasePayload : Gst.Element {
[CCode (has_construct_function = false)]
protected BasePayload ();
[NoWrapper]
public virtual Gst.Caps get_caps (Gst.Pad pad, Gst.Caps filter);
[NoWrapper]
public virtual Gst.FlowReturn handle_buffer (Gst.Buffer buffer);
public bool is_filled (uint size, Gst.ClockTime duration);
public Gst.FlowReturn push (Gst.Buffer buffer);
public Gst.FlowReturn push_list (Gst.BufferList list);
[NoWrapper]
public virtual bool query (Gst.Pad pad, Gst.Query query);
[NoWrapper]
public virtual bool set_caps (Gst.Caps caps);
public void set_options (string media, bool @dynamic, string encoding_name, uint32 clock_rate);
[NoWrapper]
public virtual bool sink_event (Gst.Event event);
[NoWrapper]
public virtual bool src_event (Gst.Event event);
[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/gstrtcpbuffer.h,gst/rtp/gstrtpbaseaudiopayload.h,gst/rtp/gstrtpbasedepayload.h,gst/rtp/gstrtpbasepayload.h,gst/rtp/gstrtpbuffer.h,gst/rtp/gstrtppayloads.h")]
[Compact]
[GIR (name = "RTPBuffer")]
public class Buffer : Gst.Buffer {
[CCode (array_length = false, array_null_terminated = true)]
public weak void*[] data;
[CCode (array_length = false, array_null_terminated = true)]
public Gst.MapInfo[] map;
[CCode (array_length = false, array_null_terminated = true)]
public weak size_t[] size;
public uint state;
public bool add_extension_onebyte_header (uint8 id, [CCode (array_length_cname = "size", array_length_pos = 2.1, array_length_type = "guint")] uint8[] data);
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);
public uint32 get_csrc (uint8 idx);
public uint8 get_csrc_count ();
public bool get_extension ();
public bool get_extension_data (out uint16 bits, [CCode (array_length = false)] out unowned uint8[] data, out uint wordlen);
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);
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);
public uint get_header_len ();
public bool get_marker ();
public uint get_packet_len ();
public bool get_padding ();
[CCode (array_length = false)]
public unowned uint8[] get_payload ();
public Gst.Buffer get_payload_buffer ();
public uint get_payload_len ();
public Gst.Buffer get_payload_subbuffer (uint offset, uint len);
public uint8 get_payload_type ();
public uint16 get_seq ();
public uint32 get_ssrc ();
public uint32 get_timestamp ();
public uint8 get_version ();
public void pad_to (uint len);
public void set_csrc (uint8 idx, uint32 csrc);
public void set_extension (bool extension);
public bool set_extension_data (uint16 bits, uint16 length);
public void set_marker (bool marker);
public void set_packet_len (uint len);
public void set_padding (bool padding);
public void set_payload_type (uint8 payload_type);
public void set_seq (uint16 seq);
public void set_ssrc (uint32 ssrc);
public void set_timestamp (uint32 timestamp);
public void set_version (uint8 version);
public void unmap ();
}
[CCode (cheader_filename = "gst/rtp/gstrtcpbuffer.h,gst/rtp/gstrtpbaseaudiopayload.h,gst/rtp/gstrtpbasedepayload.h,gst/rtp/gstrtpbasepayload.h,gst/rtp/gstrtpbuffer.h,gst/rtp/gstrtppayloads.h", has_type_id = false)]
[GIR (name = "RTPPayloadInfo")]
public struct PayloadInfo {
public uint8 payload_type;
public weak string media;
public weak string encoding_name;
public uint clock_rate;
public weak string encoding_parameters;
public uint bitrate;
}
[CCode (cheader_filename = "gst/rtp/gstrtcpbuffer.h,gst/rtp/gstrtpbaseaudiopayload.h,gst/rtp/gstrtpbasedepayload.h,gst/rtp/gstrtpbasepayload.h,gst/rtp/gstrtpbuffer.h,gst/rtp/gstrtppayloads.h", cprefix = "GST_RTP_PAYLOAD_", has_type_id = false)]
[GIR (name = "RTPPayload")]
public enum Payload {
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;
public const string @1016_STRING;
public const string CELLB_STRING;
public const string CN_STRING;
public const string DVI4_11025_STRING;
public const string DVI4_16000_STRING;
public const string DVI4_22050_STRING;
public const string DVI4_8000_STRING;
public const string DYNAMIC_STRING;
public const string G721_STRING;
public const string G722_STRING;
public const int G723_53;
public const string G723_53_STRING;
public const int G723_63;
public const string G723_63_STRING;
public const string G723_STRING;
public const string G728_STRING;
public const string G729_STRING;
public const string GSM_STRING;
public const string H261_STRING;
public const string H263_STRING;
public const string JPEG_STRING;
public const string L16_MONO_STRING;
public const string L16_STEREO_STRING;
public const string LPC_STRING;
public const string MP2T_STRING;
public const string MPA_STRING;
public const string MPV_STRING;
public const string NV_STRING;
public const string PCMA_STRING;
public const string PCMU_STRING;
public const string QCELP_STRING;
public const int TS41;
public const string TS41_STRING;
public const int TS48;
public const string TS48_STRING;
}
[CCode (cheader_filename = "gst/rtp/gstrtcpbuffer.h,gst/rtp/gstrtpbaseaudiopayload.h,gst/rtp/gstrtpbasedepayload.h,gst/rtp/gstrtpbasepayload.h,gst/rtp/gstrtpbuffer.h,gst/rtp/gstrtppayloads.h", cname = "GST_RTP_VERSION")]
public const int VERSION;
[CCode (cheader_filename = "gst/rtp/gstrtcpbuffer.h,gst/rtp/gstrtpbaseaudiopayload.h,gst/rtp/gstrtpbasedepayload.h,gst/rtp/gstrtpbasepayload.h,gst/rtp/gstrtpbuffer.h,gst/rtp/gstrtppayloads.h")]
public static void buffer_allocate_data (Gst.Buffer buffer, uint payload_len, uint8 pad_len, uint8 csrc_count);
[CCode (cheader_filename = "gst/rtp/gstrtcpbuffer.h,gst/rtp/gstrtpbaseaudiopayload.h,gst/rtp/gstrtpbasedepayload.h,gst/rtp/gstrtpbasepayload.h,gst/rtp/gstrtpbuffer.h,gst/rtp/gstrtppayloads.h")]
public static uint buffer_calc_header_len (uint8 csrc_count);
[CCode (cheader_filename = "gst/rtp/gstrtcpbuffer.h,gst/rtp/gstrtpbaseaudiopayload.h,gst/rtp/gstrtpbasedepayload.h,gst/rtp/gstrtpbasepayload.h,gst/rtp/gstrtpbuffer.h,gst/rtp/gstrtppayloads.h")]
public static uint buffer_calc_packet_len (uint payload_len, uint8 pad_len, uint8 csrc_count);
[CCode (cheader_filename = "gst/rtp/gstrtcpbuffer.h,gst/rtp/gstrtpbaseaudiopayload.h,gst/rtp/gstrtpbasedepayload.h,gst/rtp/gstrtpbasepayload.h,gst/rtp/gstrtpbuffer.h,gst/rtp/gstrtppayloads.h")]
public static uint buffer_calc_payload_len (uint packet_len, uint8 pad_len, uint8 csrc_count);
[CCode (cheader_filename = "gst/rtp/gstrtcpbuffer.h,gst/rtp/gstrtpbaseaudiopayload.h,gst/rtp/gstrtpbasedepayload.h,gst/rtp/gstrtpbasepayload.h,gst/rtp/gstrtpbuffer.h,gst/rtp/gstrtppayloads.h")]
public static int buffer_compare_seqnum (uint16 seqnum1, uint16 seqnum2);
[CCode (cheader_filename = "gst/rtp/gstrtcpbuffer.h,gst/rtp/gstrtpbaseaudiopayload.h,gst/rtp/gstrtpbasedepayload.h,gst/rtp/gstrtpbasepayload.h,gst/rtp/gstrtpbuffer.h,gst/rtp/gstrtppayloads.h")]
public static uint32 buffer_default_clock_rate (uint8 payload_type);
[CCode (cheader_filename = "gst/rtp/gstrtcpbuffer.h,gst/rtp/gstrtpbaseaudiopayload.h,gst/rtp/gstrtpbasedepayload.h,gst/rtp/gstrtpbasepayload.h,gst/rtp/gstrtpbuffer.h,gst/rtp/gstrtppayloads.h")]
public static uint64 buffer_ext_timestamp (uint64 exttimestamp, uint32 timestamp);
[CCode (cheader_filename = "gst/rtp/gstrtcpbuffer.h,gst/rtp/gstrtpbaseaudiopayload.h,gst/rtp/gstrtpbasedepayload.h,gst/rtp/gstrtpbasepayload.h,gst/rtp/gstrtpbuffer.h,gst/rtp/gstrtppayloads.h")]
public static bool buffer_map (Gst.Buffer buffer, Gst.MapFlags flags, out unowned Gst.RTP.Buffer rtp);
[CCode (cheader_filename = "gst/rtp/gstrtcpbuffer.h,gst/rtp/gstrtpbaseaudiopayload.h,gst/rtp/gstrtpbasedepayload.h,gst/rtp/gstrtpbasepayload.h,gst/rtp/gstrtpbuffer.h,gst/rtp/gstrtppayloads.h")]
public static Gst.Buffer buffer_new_allocate (uint payload_len, uint8 pad_len, uint8 csrc_count);
[CCode (cheader_filename = "gst/rtp/gstrtcpbuffer.h,gst/rtp/gstrtpbaseaudiopayload.h,gst/rtp/gstrtpbasedepayload.h,gst/rtp/gstrtpbasepayload.h,gst/rtp/gstrtpbuffer.h,gst/rtp/gstrtppayloads.h")]
public static Gst.Buffer buffer_new_allocate_len (uint packet_len, uint8 pad_len, uint8 csrc_count);
[CCode (cheader_filename = "gst/rtp/gstrtcpbuffer.h,gst/rtp/gstrtpbaseaudiopayload.h,gst/rtp/gstrtpbasedepayload.h,gst/rtp/gstrtpbasepayload.h,gst/rtp/gstrtpbuffer.h,gst/rtp/gstrtppayloads.h")]
public static Gst.Buffer buffer_new_copy_data ([CCode (array_length_cname = "len", array_length_pos = 1.1, array_length_type = "gsize")] uint8[] data);
[CCode (cheader_filename = "gst/rtp/gstrtcpbuffer.h,gst/rtp/gstrtpbaseaudiopayload.h,gst/rtp/gstrtpbasedepayload.h,gst/rtp/gstrtpbasepayload.h,gst/rtp/gstrtpbuffer.h,gst/rtp/gstrtppayloads.h")]
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);
[CCode (cheader_filename = "gst/rtp/gstrtcpbuffer.h,gst/rtp/gstrtpbaseaudiopayload.h,gst/rtp/gstrtpbasedepayload.h,gst/rtp/gstrtpbasepayload.h,gst/rtp/gstrtpbuffer.h,gst/rtp/gstrtppayloads.h")]
public static unowned Gst.RTP.PayloadInfo? payload_info_for_name (string media, string encoding_name);
[CCode (cheader_filename = "gst/rtp/gstrtcpbuffer.h,gst/rtp/gstrtpbaseaudiopayload.h,gst/rtp/gstrtpbasedepayload.h,gst/rtp/gstrtpbasepayload.h,gst/rtp/gstrtpbuffer.h,gst/rtp/gstrtppayloads.h")]
public static unowned Gst.RTP.PayloadInfo? payload_info_for_pt (uint8 payload_type);
}
namespace RTPC {
[CCode (cheader_filename = "gst/rtp/gstrtcpbuffer.h,gst/rtp/gstrtpbaseaudiopayload.h,gst/rtp/gstrtpbasedepayload.h,gst/rtp/gstrtpbasepayload.h,gst/rtp/gstrtpbuffer.h,gst/rtp/gstrtppayloads.h", cname = "GstRTCPBuffer")]
[Compact]
[GIR (name = "RTCPBuffer")]
public class Buffer : Gst.Buffer {
public Gst.MapInfo map;
[CCode (cname = "gst_rtcp_buffer_add_packet")]
public bool add_packet (Gst.RTPC.Type type, Gst.RTPC.Packet packet);
[CCode (cname = "gst_rtcp_buffer_get_first_packet")]
public bool get_first_packet (Gst.RTPC.Packet packet);
[CCode (cname = "gst_rtcp_buffer_get_packet_count")]
public uint get_packet_count ();
[CCode (cname = "gst_rtcp_buffer_unmap")]
public bool unmap ();
}
[CCode (cheader_filename = "gst/rtp/gstrtcpbuffer.h,gst/rtp/gstrtpbaseaudiopayload.h,gst/rtp/gstrtpbasedepayload.h,gst/rtp/gstrtpbasepayload.h,gst/rtp/gstrtpbuffer.h,gst/rtp/gstrtppayloads.h", cname = "GstRTCPPacket", has_type_id = false)]
[GIR (name = "RTCPPacket")]
public struct Packet {
public weak Gst.RTPC.Buffer rtcp;
public uint offset;
[CCode (cname = "gst_rtcp_packet_add_rb")]
public bool add_rb (uint32 ssrc, uint8 fractionlost, int32 packetslost, uint32 exthighestseq, uint32 jitter, uint32 lsr, uint32 dlsr);
[CCode (cname = "gst_rtcp_packet_bye_add_ssrc")]
public bool bye_add_ssrc (uint32 ssrc);
[CCode (cname = "gst_rtcp_packet_bye_add_ssrcs")]
public bool bye_add_ssrcs (uint32 ssrc, uint len);
[CCode (cname = "gst_rtcp_packet_bye_get_nth_ssrc")]
public uint32 bye_get_nth_ssrc (uint nth);
[CCode (cname = "gst_rtcp_packet_bye_get_reason")]
public string bye_get_reason ();
[CCode (cname = "gst_rtcp_packet_bye_get_reason_len")]
public uint8 bye_get_reason_len ();
[CCode (cname = "gst_rtcp_packet_bye_get_ssrc_count")]
public uint bye_get_ssrc_count ();
[CCode (cname = "gst_rtcp_packet_bye_set_reason")]
public bool bye_set_reason (string reason);
[CCode (cname = "gst_rtcp_packet_fb_get_fci")]
public uint8 fb_get_fci ();
[CCode (cname = "gst_rtcp_packet_fb_get_fci_length")]
public uint16 fb_get_fci_length ();
[CCode (cname = "gst_rtcp_packet_fb_get_media_ssrc")]
public uint32 fb_get_media_ssrc ();
[CCode (cname = "gst_rtcp_packet_fb_get_sender_ssrc")]
public uint32 fb_get_sender_ssrc ();
[CCode (cname = "gst_rtcp_packet_fb_get_type")]
public Gst.RTPC.FBType fb_get_type ();
[CCode (cname = "gst_rtcp_packet_fb_set_fci_length")]
public bool fb_set_fci_length (uint16 wordlen);
[CCode (cname = "gst_rtcp_packet_fb_set_media_ssrc")]
public void fb_set_media_ssrc (uint32 ssrc);
[CCode (cname = "gst_rtcp_packet_fb_set_sender_ssrc")]
public void fb_set_sender_ssrc (uint32 ssrc);
[CCode (cname = "gst_rtcp_packet_fb_set_type")]
public void fb_set_type (Gst.RTPC.FBType type);
[CCode (cname = "gst_rtcp_packet_get_count")]
public uint8 get_count ();
[CCode (cname = "gst_rtcp_packet_get_length")]
public uint16 get_length ();
[CCode (cname = "gst_rtcp_packet_get_padding")]
public bool get_padding ();
[CCode (cname = "gst_rtcp_packet_get_rb")]
public void get_rb (uint nth, uint32 ssrc, uint8 fractionlost, int32 packetslost, uint32 exthighestseq, uint32 jitter, uint32 lsr, uint32 dlsr);
[CCode (cname = "gst_rtcp_packet_get_rb_count")]
public uint get_rb_count ();
[CCode (cname = "gst_rtcp_packet_get_type")]
public Gst.RTPC.Type get_type ();
[CCode (cname = "gst_rtcp_packet_move_to_next")]
public bool move_to_next ();
[CCode (cname = "gst_rtcp_packet_remove")]
public bool remove ();
[CCode (cname = "gst_rtcp_packet_rr_get_ssrc")]
public uint32 rr_get_ssrc ();
[CCode (cname = "gst_rtcp_packet_rr_set_ssrc")]
public void rr_set_ssrc (uint32 ssrc);
[CCode (cname = "gst_rtcp_packet_sdes_add_entry")]
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);
[CCode (cname = "gst_rtcp_packet_sdes_add_item")]
public bool sdes_add_item (uint32 ssrc);
[CCode (cname = "gst_rtcp_packet_sdes_copy_entry")]
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);
[CCode (cname = "gst_rtcp_packet_sdes_first_entry")]
public bool sdes_first_entry ();
[CCode (cname = "gst_rtcp_packet_sdes_first_item")]
public bool sdes_first_item ();
[CCode (cname = "gst_rtcp_packet_sdes_get_entry")]
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);
[CCode (cname = "gst_rtcp_packet_sdes_get_item_count")]
public uint sdes_get_item_count ();
[CCode (cname = "gst_rtcp_packet_sdes_get_ssrc")]
public uint32 sdes_get_ssrc ();
[CCode (cname = "gst_rtcp_packet_sdes_next_entry")]
public bool sdes_next_entry ();
[CCode (cname = "gst_rtcp_packet_sdes_next_item")]
public bool sdes_next_item ();
[CCode (cname = "gst_rtcp_packet_set_rb")]
public void set_rb (uint nth, uint32 ssrc, uint8 fractionlost, int32 packetslost, uint32 exthighestseq, uint32 jitter, uint32 lsr, uint32 dlsr);
[CCode (cname = "gst_rtcp_packet_sr_get_sender_info")]
public void sr_get_sender_info (uint32 ssrc, uint64 ntptime, uint32 rtptime, uint32 packet_count, uint32 octet_count);
[CCode (cname = "gst_rtcp_packet_sr_set_sender_info")]
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,gst/rtp/gstrtpbaseaudiopayload.h,gst/rtp/gstrtpbasedepayload.h,gst/rtp/gstrtpbasepayload.h,gst/rtp/gstrtpbuffer.h,gst/rtp/gstrtppayloads.h", cname = "GstRTCPFBType", cprefix = "GST_RTCP_", has_type_id = false)]
[GIR (name = "RTCPFBType")]
public enum FBType {
FB_TYPE_INVALID,
RTPFB_TYPE_NACK,
RTPFB_TYPE_TMMBR,
RTPFB_TYPE_TMMBN,
PSFB_TYPE_PLI,
PSFB_TYPE_SLI,
PSFB_TYPE_RPSI,
PSFB_TYPE_AFB,
PSFB_TYPE_FIR,
PSFB_TYPE_TSTR,
PSFB_TYPE_TSTN,
PSFB_TYPE_VBCN
}
[CCode (cheader_filename = "gst/rtp/gstrtcpbuffer.h,gst/rtp/gstrtpbaseaudiopayload.h,gst/rtp/gstrtpbasedepayload.h,gst/rtp/gstrtpbasepayload.h,gst/rtp/gstrtpbuffer.h,gst/rtp/gstrtppayloads.h", cname = "GstRTCPSDESType", cprefix = "GST_RTCP_SDES_", has_type_id = false)]
[GIR (name = "RTCPSDESType")]
public enum SDESType {
INVALID,
END,
CNAME,
NAME,
EMAIL,
PHONE,
LOC,
TOOL,
NOTE,
PRIV
}
[CCode (cheader_filename = "gst/rtp/gstrtcpbuffer.h,gst/rtp/gstrtpbaseaudiopayload.h,gst/rtp/gstrtpbasedepayload.h,gst/rtp/gstrtpbasepayload.h,gst/rtp/gstrtpbuffer.h,gst/rtp/gstrtppayloads.h", cname = "GstRTCPType", cprefix = "GST_RTCP_TYPE_", has_type_id = false)]
[GIR (name = "RTCPType")]
public enum Type {
INVALID,
SR,
RR,
SDES,
BYE,
APP,
RTPFB,
PSFB
}
[CCode (cheader_filename = "gst/rtp/gstrtcpbuffer.h,gst/rtp/gstrtpbaseaudiopayload.h,gst/rtp/gstrtpbasedepayload.h,gst/rtp/gstrtpbasepayload.h,gst/rtp/gstrtpbuffer.h,gst/rtp/gstrtppayloads.h", cname = "GST_RTCP_MAX_BYE_SSRC_COUNT")]
public const int MAX_BYE_SSRC_COUNT;
[CCode (cheader_filename = "gst/rtp/gstrtcpbuffer.h,gst/rtp/gstrtpbaseaudiopayload.h,gst/rtp/gstrtpbasedepayload.h,gst/rtp/gstrtpbasepayload.h,gst/rtp/gstrtpbuffer.h,gst/rtp/gstrtppayloads.h", cname = "GST_RTCP_MAX_RB_COUNT")]
public const int MAX_RB_COUNT;
[CCode (cheader_filename = "gst/rtp/gstrtcpbuffer.h,gst/rtp/gstrtpbaseaudiopayload.h,gst/rtp/gstrtpbasedepayload.h,gst/rtp/gstrtpbasepayload.h,gst/rtp/gstrtpbuffer.h,gst/rtp/gstrtppayloads.h", cname = "GST_RTCP_MAX_SDES")]
public const int MAX_SDES;
[CCode (cheader_filename = "gst/rtp/gstrtcpbuffer.h,gst/rtp/gstrtpbaseaudiopayload.h,gst/rtp/gstrtpbasedepayload.h,gst/rtp/gstrtpbasepayload.h,gst/rtp/gstrtpbuffer.h,gst/rtp/gstrtppayloads.h", cname = "GST_RTCP_MAX_SDES_ITEM_COUNT")]
public const int MAX_SDES_ITEM_COUNT;
[CCode (cheader_filename = "gst/rtp/gstrtcpbuffer.h,gst/rtp/gstrtpbaseaudiopayload.h,gst/rtp/gstrtpbasedepayload.h,gst/rtp/gstrtpbasepayload.h,gst/rtp/gstrtpbuffer.h,gst/rtp/gstrtppayloads.h", cname = "GST_RTCP_VALID_MASK")]
public const int VALID_MASK;
[CCode (cheader_filename = "gst/rtp/gstrtcpbuffer.h,gst/rtp/gstrtpbaseaudiopayload.h,gst/rtp/gstrtpbasedepayload.h,gst/rtp/gstrtpbasepayload.h,gst/rtp/gstrtpbuffer.h,gst/rtp/gstrtppayloads.h", cname = "GST_RTCP_VALID_VALUE")]
public const int VALID_VALUE;
[CCode (cheader_filename = "gst/rtp/gstrtcpbuffer.h,gst/rtp/gstrtpbaseaudiopayload.h,gst/rtp/gstrtpbasedepayload.h,gst/rtp/gstrtpbasepayload.h,gst/rtp/gstrtpbuffer.h,gst/rtp/gstrtppayloads.h", cname = "GST_RTCP_VERSION")]
public const int VERSION;
[CCode (cheader_filename = "gst/rtp/gstrtcpbuffer.h,gst/rtp/gstrtpbaseaudiopayload.h,gst/rtp/gstrtpbasedepayload.h,gst/rtp/gstrtpbasepayload.h,gst/rtp/gstrtpbuffer.h,gst/rtp/gstrtppayloads.h", cname = "gst_rtcp_buffer_map")]
public static bool buffer_map (Gst.Buffer buffer, Gst.MapFlags flags, Gst.RTPC.Buffer rtcp);
[CCode (cheader_filename = "gst/rtp/gstrtcpbuffer.h,gst/rtp/gstrtpbaseaudiopayload.h,gst/rtp/gstrtpbasedepayload.h,gst/rtp/gstrtpbasepayload.h,gst/rtp/gstrtpbuffer.h,gst/rtp/gstrtppayloads.h", cname = "gst_rtcp_buffer_new")]
public static Gst.Buffer buffer_new (uint mtu);
[CCode (cheader_filename = "gst/rtp/gstrtcpbuffer.h,gst/rtp/gstrtpbaseaudiopayload.h,gst/rtp/gstrtpbasedepayload.h,gst/rtp/gstrtpbasepayload.h,gst/rtp/gstrtpbuffer.h,gst/rtp/gstrtppayloads.h", cname = "gst_rtcp_buffer_new_copy_data")]
public static Gst.Buffer buffer_new_copy_data ([CCode (array_length_cname = "len", array_length_pos = 1.1, array_length_type = "guint")] uint8[] data);
[CCode (cheader_filename = "gst/rtp/gstrtcpbuffer.h,gst/rtp/gstrtpbaseaudiopayload.h,gst/rtp/gstrtpbasedepayload.h,gst/rtp/gstrtpbasepayload.h,gst/rtp/gstrtpbuffer.h,gst/rtp/gstrtppayloads.h", cname = "gst_rtcp_buffer_new_take_data")]
public static Gst.Buffer buffer_new_take_data ([CCode (array_length_cname = "len", array_length_pos = 1.1, array_length_type = "guint")] uint8[] data);
[CCode (cheader_filename = "gst/rtp/gstrtcpbuffer.h,gst/rtp/gstrtpbaseaudiopayload.h,gst/rtp/gstrtpbasedepayload.h,gst/rtp/gstrtpbasepayload.h,gst/rtp/gstrtpbuffer.h,gst/rtp/gstrtppayloads.h", cname = "gst_rtcp_buffer_validate")]
public static bool buffer_validate (Gst.Buffer buffer);
[CCode (cheader_filename = "gst/rtp/gstrtcpbuffer.h,gst/rtp/gstrtpbaseaudiopayload.h,gst/rtp/gstrtpbasedepayload.h,gst/rtp/gstrtpbasepayload.h,gst/rtp/gstrtpbuffer.h,gst/rtp/gstrtppayloads.h", cname = "gst_rtcp_buffer_validate_data")]
public static bool buffer_validate_data ([CCode (array_length_cname = "len", array_length_pos = 1.1, array_length_type = "guint")] uint8[] data);
[CCode (cheader_filename = "gst/rtp/gstrtcpbuffer.h,gst/rtp/gstrtpbaseaudiopayload.h,gst/rtp/gstrtpbasedepayload.h,gst/rtp/gstrtpbasepayload.h,gst/rtp/gstrtpbuffer.h,gst/rtp/gstrtppayloads.h", cname = "gst_rtcp_ntp_to_unix")]
public static uint64 ntp_to_unix (uint64 ntptime);
[CCode (cheader_filename = "gst/rtp/gstrtcpbuffer.h,gst/rtp/gstrtpbaseaudiopayload.h,gst/rtp/gstrtpbasedepayload.h,gst/rtp/gstrtpbasepayload.h,gst/rtp/gstrtpbuffer.h,gst/rtp/gstrtppayloads.h", cname = "gst_rtcp_sdes_name_to_type")]
public static Gst.RTPC.SDESType sdes_name_to_type (string name);
[CCode (cheader_filename = "gst/rtp/gstrtcpbuffer.h,gst/rtp/gstrtpbaseaudiopayload.h,gst/rtp/gstrtpbasedepayload.h,gst/rtp/gstrtpbasepayload.h,gst/rtp/gstrtpbuffer.h,gst/rtp/gstrtppayloads.h", cname = "gst_rtcp_sdes_type_to_name")]
public static unowned string sdes_type_to_name (Gst.RTPC.SDESType type);
[CCode (cheader_filename = "gst/rtp/gstrtcpbuffer.h,gst/rtp/gstrtpbaseaudiopayload.h,gst/rtp/gstrtpbasedepayload.h,gst/rtp/gstrtpbasepayload.h,gst/rtp/gstrtpbuffer.h,gst/rtp/gstrtppayloads.h", cname = "gst_rtcp_unix_to_ntp")]
public static uint64 unix_to_ntp (uint64 unixtime);
}
}
|