Struct medea_client_api_proto::stats::MediaSourceStats[][src]

pub struct MediaSourceStats {
    pub track_identifier: Option<String>,
    pub kind: MediaKind,
}

Statistics for the media produced by a MediaStreamTrack that is currently attached to an RTCRtpSender. This reflects the media that is fed to the encoder after getUserMedia constraints have been applied (i.e. not the raw media produced by the camera).

RtcStatsType::MediaSource variant.

Full doc on W3C.

Fields

track_identifier: Option<String>

Value of the MediaStreamTrack’s ID attribute.

kind: MediaKind

Fields which should be in the RtcStat based on kind.

Trait Implementations

impl Clone for MediaSourceStats[src]

impl Debug for MediaSourceStats[src]

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

impl Hash for MediaSourceStats[src]

impl PartialEq<MediaSourceStats> for MediaSourceStats[src]

impl Serialize for MediaSourceStats[src]

impl StructuralPartialEq for MediaSourceStats[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.