Struct rtcp::compound_packet::CompoundPacket [−][src]
Expand description
A CompoundPacket is a collection of RTCP packets transmitted as a single packet with the underlying protocol (for example UDP).
To maximize the resolution of receiption statistics, the first Packet in a CompoundPacket must always be either a SenderReport or a ReceiverReport. This is true even if no data has been sent or received, in which case an empty ReceiverReport must be sent, and even if the only other RTCP packet in the compound packet is a Goodbye.
Next, a SourceDescription containing a CNAME item must be included in each CompoundPacket to identify the source and to begin associating media for purposes such as lip-sync.
Other RTCP packet types may follow in any order. Packet types may appear more than once.
Tuple Fields
0: Vec<Box<dyn Packet + Send + Sync>>
Implementations
Trait Implementations
Returns the “default value” for a type. Read more
destination_ssrc returns the synchronization sources associated with this CompoundPacket’s reception report.
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl !RefUnwindSafe for CompoundPacket
impl Send for CompoundPacket
impl Sync for CompoundPacket
impl Unpin for CompoundPacket
impl !UnwindSafe for CompoundPacket
Blanket Implementations
Mutably borrows from an owned value. Read more