[ Version ( since = "1.18" ) ]
public static bool get_extension_onebyte_header_from_bytes (Bytes bytes, uint16 bit_pattern, uint8 id, uint nth, out unowned uint8[] data)
Similar to gst_rtp_buffer_get_extension_onebyte_header, but working on the Bytes you get from gst_rtp_buffer_get_extension_bytes.
Parses RFC 5285 style header extensions with a one byte header. It will return the nth extension with the requested id.
bytes |
Bytes |
bit_pattern |
The bit-pattern. Anything but 0xBEDE is rejected. |
id |
The ID of the header extension to be read (between 1 and 14). |
nth |
Read the nth extension packet with the requested ID |
data |
location for data |
size |
the size of the data in bytes |
TRUE if |