#[non_exhaustive]pub enum RtcpSessionEvent {
SsrcCollision {
ssrc: u32,
replacement: u32,
},
RemoteCname {
ssrc: u32,
cname: String,
},
SourceTimedOut {
ssrc: u32,
},
RoundTripTime {
ssrc: u32,
rtt: Duration,
},
}Expand description
What the session tells the rest of the chain and the peer connection.
It travels application-ward as an Attribute::Custom on an empty RTCP packet; read it
with AttributedPacket::custom.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
SsrcCollision
RFC 3550 8.2: a packet arrived from another source that uses ssrc, one of this
endpoint’s own. replacement is an SSRC no known source uses, for the stream to move
to; a reporting SSRC the session chose itself has already moved.
Fields
RemoteCname
RFC 3550 6.5.1: the remote source ssrc named its CNAME (or changed it).
SourceTimedOut
RFC 3550 6.3.5: nothing was heard from the remote source for five report intervals.
RoundTripTime
RFC 3550 6.4.1: the round-trip time to the receiver that reported on the local ssrc.
Trait Implementations§
Source§impl Clone for RtcpSessionEvent
impl Clone for RtcpSessionEvent
Source§impl Debug for RtcpSessionEvent
impl Debug for RtcpSessionEvent
impl Eq for RtcpSessionEvent
Source§impl PartialEq for RtcpSessionEvent
impl PartialEq for RtcpSessionEvent
impl StructuralPartialEq for RtcpSessionEvent
Auto Trait Implementations§
impl Forget for RtcpSessionEvent
impl Freeze for RtcpSessionEvent
impl Move for RtcpSessionEvent
impl RefUnwindSafe for RtcpSessionEvent
impl Send for RtcpSessionEvent
impl Sync for RtcpSessionEvent
impl Unpin for RtcpSessionEvent
impl UnsafeUnpin for RtcpSessionEvent
impl UnwindSafe for RtcpSessionEvent
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more