Struct webrtc::stats::CodecStats
source · pub struct CodecStats {
pub timestamp: Instant,
pub stats_type: RTCStatsType,
pub id: String,
pub payload_type: PayloadType,
pub mime_type: String,
pub channels: u16,
pub clock_rate: u32,
pub sdp_fmtp_line: String,
}
Fields§
§timestamp: Instant
§stats_type: RTCStatsType
§id: String
§payload_type: PayloadType
§mime_type: String
§channels: u16
§clock_rate: u32
§sdp_fmtp_line: String
Trait Implementations§
source§impl Debug for CodecStats
impl Debug for CodecStats
source§impl From<&RTCRtpCodecParameters> for CodecStats
impl From<&RTCRtpCodecParameters> for CodecStats
source§fn from(codec: &RTCRtpCodecParameters) -> Self
fn from(codec: &RTCRtpCodecParameters) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl RefUnwindSafe for CodecStats
impl Send for CodecStats
impl Sync for CodecStats
impl Unpin for CodecStats
impl UnwindSafe for CodecStats
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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