pub struct DLRRReportBlock {
pub reports: Vec<DLRRReport>,
}Expand description
DLRRReportBlock encodes a DLRR Report Block as described in RFC 3611 section 4.5.
0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | BT=5 | reserved | block length | +=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+ | SSRC_1 (ssrc of first receiver) | sub- +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ block | last RR (LRR) | 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | delay since last RR (DLRR) | +=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+ | SSRC_2 (ssrc of second receiver) | sub- +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ block : … : 2 +=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+
Fields§
§reports: Vec<DLRRReport>One sub-block per SSRC reported on.
Implementations§
Trait Implementations§
Source§impl Clone for DLRRReportBlock
impl Clone for DLRRReportBlock
Source§fn clone(&self) -> DLRRReportBlock
fn clone(&self) -> DLRRReportBlock
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for DLRRReportBlock
impl Debug for DLRRReportBlock
Source§impl Default for DLRRReportBlock
impl Default for DLRRReportBlock
Source§fn default() -> DLRRReportBlock
fn default() -> DLRRReportBlock
Source§impl Display for DLRRReportBlock
impl Display for DLRRReportBlock
impl Eq for DLRRReportBlock
Source§impl Marshal for DLRRReportBlock
impl Marshal for DLRRReportBlock
Source§impl MarshalSize for DLRRReportBlock
impl MarshalSize for DLRRReportBlock
Source§fn marshal_size(&self) -> usize
fn marshal_size(&self) -> usize
Marshal::marshal_to will write for this value.Source§impl Packet for DLRRReportBlock
impl Packet for DLRRReportBlock
Source§fn destination_ssrc(&self) -> Vec<u32>
fn destination_ssrc(&self) -> Vec<u32>
destination_ssrc returns an array of ssrc values that this report block refers to.
Source§fn as_any(&self) -> &dyn Any
fn as_any(&self) -> &dyn Any
Box<dyn Packet> can recover the concrete type.