Struct rtcp::extended_report::prt::PacketReceiptTimesReportBlock
source · pub struct PacketReceiptTimesReportBlock {
pub t: u8,
pub ssrc: u32,
pub begin_seq: u16,
pub end_seq: u16,
pub receipt_time: Vec<u32>,
}
Expand description
PacketReceiptTimesReportBlock represents a Packet Receipt Times report block, as described in RFC 3611 section 4.3.
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=3 | rsvd. | t | block length | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | ssrc of source | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | begin_seq | end_seq | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Receipt time of packet begin_seq | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Receipt time of packet (begin_seq + 1) mod 65536 | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ : … : +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Receipt time of packet (end_seq - 1) mod 65536 | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
Fields§
§t: u8
§ssrc: u32
§begin_seq: u16
§end_seq: u16
§receipt_time: Vec<u32>
Implementations§
Trait Implementations§
source§impl Clone for PacketReceiptTimesReportBlock
impl Clone for PacketReceiptTimesReportBlock
source§fn clone(&self) -> PacketReceiptTimesReportBlock
fn clone(&self) -> PacketReceiptTimesReportBlock
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for PacketReceiptTimesReportBlock
impl Default for PacketReceiptTimesReportBlock
source§fn default() -> PacketReceiptTimesReportBlock
fn default() -> PacketReceiptTimesReportBlock
source§impl MarshalSize for PacketReceiptTimesReportBlock
impl MarshalSize for PacketReceiptTimesReportBlock
fn marshal_size(&self) -> usize
source§impl Packet for PacketReceiptTimesReportBlock
impl Packet for PacketReceiptTimesReportBlock
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 PacketReceiptTimesReportBlock
impl PartialEq for PacketReceiptTimesReportBlock
source§fn eq(&self, other: &PacketReceiptTimesReportBlock) -> bool
fn eq(&self, other: &PacketReceiptTimesReportBlock) -> bool
self
and other
values to be equal, and is used
by ==
.