pub enum ProducerTraceEventData {
Rtp {
timestamp: u64,
direction: TraceEventDirection,
info: RtpPacketTraceInfo,
},
KeyFrame {
timestamp: u64,
direction: TraceEventDirection,
info: RtpPacketTraceInfo,
},
Nack {
timestamp: u64,
direction: TraceEventDirection,
},
Pli {
timestamp: u64,
direction: TraceEventDirection,
info: SsrcTraceInfo,
},
Fir {
timestamp: u64,
direction: TraceEventDirection,
info: SsrcTraceInfo,
},
Sr {
timestamp: u64,
direction: TraceEventDirection,
info: SrTraceInfo,
},
}
Expand description
‘trace’ event data.
Variants§
Rtp
RTP packet.
KeyFrame
RTP video keyframe packet.
Nack
RTCP NACK packet.
Pli
RTCP PLI packet.
Fir
RTCP FIR packet.
Sr
RTCP Sender Report.
Trait Implementations§
source§impl Clone for ProducerTraceEventData
impl Clone for ProducerTraceEventData
source§fn clone(&self) -> ProducerTraceEventData
fn clone(&self) -> ProducerTraceEventData
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ProducerTraceEventData
impl Debug for ProducerTraceEventData
source§impl<'de> Deserialize<'de> for ProducerTraceEventData
impl<'de> Deserialize<'de> for ProducerTraceEventData
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl RefUnwindSafe for ProducerTraceEventData
impl Send for ProducerTraceEventData
impl Sync for ProducerTraceEventData
impl Unpin for ProducerTraceEventData
impl UnwindSafe for ProducerTraceEventData
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