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: u8padding: boolextension: boolmarker: boolpayload_type: u8sequence_number: u16timestamp: u32ssrc: u32csrc: Vec<u32>extension_profile: u16extensions: Vec<Extension>Implementations
SetExtension sets an RTP header extension
returns an extension id array
returns 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