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: u8The block’s T field, which scales the receipt-time values.
ssrc: u32The SSRC whose packets are reported on.
begin_seq: u16The first sequence number covered by this block.
end_seq: u16One past the last sequence number covered.
receipt_time: Vec<u32>Receipt time for each packet in the range, in the block’s timestamp units.
Implementations§
Trait Implementations§
Source§impl Clone for PacketReceiptTimesReportBlock
impl Clone for PacketReceiptTimesReportBlock
Source§fn clone(&self) -> PacketReceiptTimesReportBlock
fn clone(&self) -> PacketReceiptTimesReportBlock
1.0.0 (const: unstable) · 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
impl Eq for PacketReceiptTimesReportBlock
Source§impl MarshalSize for PacketReceiptTimesReportBlock
impl MarshalSize for PacketReceiptTimesReportBlock
Source§fn marshal_size(&self) -> usize
fn marshal_size(&self) -> usize
Marshal::marshal_to will write for this value.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.
Source§fn as_any(&self) -> &dyn Any
fn as_any(&self) -> &dyn Any
Box<dyn Packet> can recover the concrete type.