pub struct RtcRtpTransceiverStats {
pub sender_id: Option<String>,
pub receiver_id: Option<String>,
pub mid: Option<String>,
}
Expand description
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.
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§
source§impl Clone for RtcRtpTransceiverStats
impl Clone for RtcRtpTransceiverStats
source§fn clone(&self) -> RtcRtpTransceiverStats
fn clone(&self) -> RtcRtpTransceiverStats
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for RtcRtpTransceiverStats
impl Debug for RtcRtpTransceiverStats
source§impl<'de> Deserialize<'de> for RtcRtpTransceiverStats
impl<'de> Deserialize<'de> for RtcRtpTransceiverStats
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
source§impl Hash for RtcRtpTransceiverStats
impl Hash for RtcRtpTransceiverStats
source§impl PartialEq<RtcRtpTransceiverStats> for RtcRtpTransceiverStats
impl PartialEq<RtcRtpTransceiverStats> for RtcRtpTransceiverStats
source§fn eq(&self, other: &RtcRtpTransceiverStats) -> bool
fn eq(&self, other: &RtcRtpTransceiverStats) -> bool
self
and other
values to be equal, and is used
by ==
.