pub struct ExtendedReport {
pub sender_ssrc: u32,
pub reports: Vec<Box<dyn Packet>>,
}Expand description
The ExtendedReport packet is an Implementation of RTCP Extended reports defined in RFC 3611. It is used to convey detailed information about an RTP stream. Each packet contains one or more report blocks, each of which conveys a different kind of information.
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 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ |V=2|P|reserved | PT=XR=207 | length | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | ssrc | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ : report blocks : +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
Fields§
§sender_ssrc: u32The SSRC of the sender of this extended report.
reports: Vec<Box<dyn Packet>>The report blocks this packet carries.
Trait Implementations§
Source§impl Clone for ExtendedReport
impl Clone for ExtendedReport
Source§fn clone(&self) -> ExtendedReport
fn clone(&self) -> ExtendedReport
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 ExtendedReport
impl Debug for ExtendedReport
Source§impl Default for ExtendedReport
impl Default for ExtendedReport
Source§fn default() -> ExtendedReport
fn default() -> ExtendedReport
Source§impl Display for ExtendedReport
impl Display for ExtendedReport
Source§impl Marshal for ExtendedReport
impl Marshal for ExtendedReport
Source§impl MarshalSize for ExtendedReport
impl MarshalSize for ExtendedReport
Source§fn marshal_size(&self) -> usize
fn marshal_size(&self) -> usize
Marshal::marshal_to will write for this value.Source§impl Packet for ExtendedReport
impl Packet for ExtendedReport
Source§fn destination_ssrc(&self) -> Vec<u32>
fn destination_ssrc(&self) -> Vec<u32>
destination_ssrc returns an array of ssrc values that this packet refers to.
Source§fn as_any(&self) -> &dyn Any
fn as_any(&self) -> &dyn Any
Box<dyn Packet> can recover the concrete type.