Struct rtp::header::Header [−][src]
pub struct Header { pub version: u8, pub padding: bool, pub extension: bool, pub marker: bool, pub payload_type: u8, pub sequence_number: u16, pub timestamp: u32, pub ssrc: u32, pub csrc: Vec<u32>, pub extension_profile: u16, pub extensions: Vec<Extension>, }
Expand description
Header represents an RTP packet header NOTE: PayloadOffset is populated by Marshal/Unmarshal and should not be modified
Fields
version: u8
padding: bool
extension: bool
marker: bool
payload_type: u8
sequence_number: u16
timestamp: u32
ssrc: u32
csrc: Vec<u32>
extension_profile: u16
extensions: Vec<Extension>
Implementations
SetExtension sets an RTP header extension
returns an extension id array
returns an RTP header extension
Removes an RTP Header extension
Trait Implementations
MarshalSize returns the size of the packet once marshaled.
Auto Trait Implementations
impl RefUnwindSafe for Header
impl UnwindSafe for Header
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn vzip(self) -> V