Struct medea_client_api_proto::stats::RtcCodecStats[][src]

pub struct RtcCodecStats {
    pub payload_type: u32,
    pub mime_type: String,
    pub clock_rate: u32,
}
This is supported on crate feature extended-stats only.

Statistics for a codec that is currently used by RTP streams being sent or received by RTCPeerConnection object.

RtcStatsType::Codec variant.

Full doc on W3C.

Fields

payload_type: u32

Payload type as used in RTP encoding or decoding.

mime_type: String

The codec MIME media type/subtype (e.g. video/vp8 or equivalent).

clock_rate: u32

Media sampling rate.

Trait Implementations

impl Clone for RtcCodecStats[src]

impl Debug for RtcCodecStats[src]

impl<'de> Deserialize<'de> for RtcCodecStats[src]

impl Eq for RtcCodecStats[src]

impl Hash for RtcCodecStats[src]

impl PartialEq<RtcCodecStats> for RtcCodecStats[src]

impl Serialize for RtcCodecStats[src]

impl StructuralEq for RtcCodecStats[src]

impl StructuralPartialEq for RtcCodecStats[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.