1 2 3 4 5 6 7 8 9 10 11 12
/// An RTP packet header extension, https://tools.ietf.org/html/rfc3550#section-5.3.1 #[derive(Debug)] pub struct RtpPacketHeaderExtension<'a> { // profile -- 2 bytes pub profile: u16, // length (in number of 32 bit words) -- 2 bytes pub length: u16, // variable length data -- {length*4} bytes pub data: &'a [u8], }