Struct rtcp::header::Header [−][src]
pub struct Header { pub padding: bool, pub count: u8, pub packet_type: PacketType, pub length: u16, }
Expand description
A Header is the common header shared by all RTCP packets
Fields
padding: bool
If the padding bit is set, this individual RTCP packet contains some additional padding octets at the end which are not part of the control information but are included in the length field.
count: u8
The number of reception reports, sources contained or FMT in this packet (depending on the Type)
packet_type: PacketType
The RTCP packet type for this packet
length: u16
The length of this RTCP packet in 32-bit words minus one, including the header and any padding.
Trait Implementations
Marshal encodes the Header in binary
Auto Trait Implementations
impl RefUnwindSafe for Header
impl UnwindSafe for Header
Blanket Implementations
Mutably borrows from an owned value. Read more