Struct medea_client_api_proto::stats::RtcRtpTransceiverStats[][src]

pub struct RtcRtpTransceiverStats {
    pub sender_id: Option<String>,
    pub receiver_id: Option<String>,
    pub mid: Option<String>,
}
This is supported on crate feature extended-stats only.

RTCRtpTransceiverStats object representing an RTCRtpTransceiver of an RTCPeerConnection.

It appears as soon as the monitored RTCRtpTransceiver object is created, such as by invoking addTransceiver, addTrack or setRemoteDescription. RTCRtpTransceiverStats objects can only be deleted if the corresponding RTCRtpTransceiver is removed (this can only happen if a remote description is rolled back).

RtcStatsType::Transceiver variant.

Full doc on W3C.

Fields

sender_id: Option<String>

ID of the stats object representing the RTCRtpSender associated with the RTCRtpTransceiver represented by this stats object.

receiver_id: Option<String>

ID of the stats object representing the RTCRtpReceiver associated with the RTCRtpTransceiver represented by this stats object.

mid: Option<String>

If the RTCRtpTransceiver that this stats object represents has a mid value that is not null, this is that value, otherwise this value is undefined.

Trait Implementations

impl Clone for RtcRtpTransceiverStats[src]

impl Debug for RtcRtpTransceiverStats[src]

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

impl Eq for RtcRtpTransceiverStats[src]

impl Hash for RtcRtpTransceiverStats[src]

impl PartialEq<RtcRtpTransceiverStats> for RtcRtpTransceiverStats[src]

impl Serialize for RtcRtpTransceiverStats[src]

impl StructuralEq for RtcRtpTransceiverStats[src]

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