Struct rtcp::reception_report::ReceptionReport
source · pub struct ReceptionReport {
pub ssrc: u32,
pub fraction_lost: u8,
pub total_lost: u32,
pub last_sequence_number: u32,
pub jitter: u32,
pub last_sender_report: u32,
pub delay: u32,
}
Expand description
A ReceptionReport block conveys statistics on the reception of RTP packets from a single synchronization source.
Fields§
§ssrc: u32
The SSRC identifier of the source to which the information in this reception report block pertains.
fraction_lost: u8
The fraction of RTP data packets from source SSRC lost since the previous SR or RR packet was sent, expressed as a fixed point number with the binary point at the left edge of the field.
total_lost: u32
The total number of RTP data packets from source SSRC that have been lost since the beginning of reception.
last_sequence_number: u32
The least significant 16 bits contain the highest sequence number received in an RTP data packet from source SSRC, and the most significant 16 bits extend that sequence number with the corresponding count of sequence number cycles.
jitter: u32
An estimate of the statistical variance of the RTP data packet interarrival time, measured in timestamp units and expressed as an unsigned integer.
last_sender_report: u32
The middle 32 bits out of 64 in the NTP timestamp received as part of the most recent RTCP sender report (SR) packet from source SSRC. If no SR has been received yet, the field is set to zero.
delay: u32
The delay, expressed in units of 1/65536 seconds, between receiving the last SR packet from source SSRC and sending this reception report block. If no SR packet has been received yet from SSRC, the field is set to zero.
Trait Implementations§
source§impl Clone for ReceptionReport
impl Clone for ReceptionReport
source§fn clone(&self) -> ReceptionReport
fn clone(&self) -> ReceptionReport
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ReceptionReport
impl Debug for ReceptionReport
source§impl Default for ReceptionReport
impl Default for ReceptionReport
source§fn default() -> ReceptionReport
fn default() -> ReceptionReport
source§impl Display for ReceptionReport
impl Display for ReceptionReport
source§impl Marshal for ReceptionReport
impl Marshal for ReceptionReport
source§impl MarshalSize for ReceptionReport
impl MarshalSize for ReceptionReport
fn marshal_size(&self) -> usize
source§impl Packet for ReceptionReport
impl Packet for ReceptionReport
source§impl PartialEq for ReceptionReport
impl PartialEq for ReceptionReport
source§fn eq(&self, other: &ReceptionReport) -> bool
fn eq(&self, other: &ReceptionReport) -> bool
self
and other
values to be equal, and is used
by ==
.