Struct rtcp::extended_report::dlrr::DLRRReportBlock
source · 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>
Implementations§
Trait Implementations§
source§impl Clone for DLRRReportBlock
impl Clone for DLRRReportBlock
source§fn clone(&self) -> DLRRReportBlock
fn clone(&self) -> DLRRReportBlock
1.0.0 · 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
source§impl Marshal for DLRRReportBlock
impl Marshal for DLRRReportBlock
source§impl MarshalSize for DLRRReportBlock
impl MarshalSize for DLRRReportBlock
fn marshal_size(&self) -> usize
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.
fn header(&self) -> Header
fn raw_size(&self) -> usize
fn as_any(&self) -> &(dyn Any + Send + Sync)
fn equal(&self, other: &(dyn Packet + Send + Sync)) -> bool
fn cloned(&self) -> Box<dyn Packet + Send + Sync>
source§impl PartialEq for DLRRReportBlock
impl PartialEq for DLRRReportBlock
source§fn eq(&self, other: &DLRRReportBlock) -> bool
fn eq(&self, other: &DLRRReportBlock) -> bool
self
and other
values to be equal, and is used
by ==
.