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.