Module medea_client_api_proto::stats[][src]

Contains DTOs for RTCPeerConnection metrics.

Structs

DataChannelStats

Statistics related to each RTCDataChannel ID.

Float

f64 wrapper with Hash implementation.

HighResTimeStamp

Representation of DOMHighResTimeStamp.

MediaSourceStats

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).

MediaStreamStatsextended-stats

Contains statistics related to a specific MediaStream.

RtcCertificateStatsextended-stats

Information about a certificate used by RTCIceTransport.

RtcCodecStatsextended-stats

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

RtcIceCandidatePairStats

ICE candidate pair statistics related to the RTCIceTransport objects.

RtcIceCandidateStats

Properties of a candidate in Section 15.1 of RFC 5245. It corresponds to a RTCIceTransport object.

RtcIceServerStatsextended-stats

Information about the connection to an ICE server (e.g. STUN or TURN).

RtcInboundRtpStreamStats

Representation of the measurement metrics for the incoming RTP media stream. The timestamp reported in the statistics object is the time at which the data was sampled.

RtcOutboundRtpStreamStats

Statistics for an outbound RTP stream that is currently sent with this RTCPeerConnection object.

RtcPeerConnectionStatsextended-stats

Stats for the RTCPeerConnection object.

RtcRemoteInboundRtpStreamStats

Statistics for the remote endpoint’s inbound RTP stream corresponding to an outbound stream that is currently sent with RTCPeerConnection object.

RtcRemoteOutboundRtpStreamStats

Statistics for the remote endpoint’s outbound RTP stream corresponding to an inbound stream that is currently received with RTCPeerConnection object.

RtcRtpTransceiverStatsextended-stats

RTCRtpTransceiverStats object representing an RTCRtpTransceiver of an RTCPeerConnection.

RtcSctpTransportStats

Representation of the stats corresponding to an RTCSctpTransport.

RtcStat

Represents the stats object constructed by inspecting a specific monitored object.

RtcTransportStats

Representation of the stats corresponding to an RTCDtlsTransport and its underlying RTCIceTransport.

RtpContributingSourceStatsextended-stats

Statistics for a contributing source (CSRC) that contributed to an inbound RTP stream.

StatId

Unique ID that is associated with the object that was inspected to produce RtcStat object.

TrackStats

Statistics related to a specific MediaStreamTrack’s attachment to an RTCRtpSender and the corresponding media-level metrics.

Enums

IceRole

Variants of ICE roles.

KnownCandidateType

RTCIceCandidateType represents the type of the ICE candidate, as defined in Section 15.1 of RFC 5245.

KnownDataChannelState

State of the RTCDataChannel’s underlying data connection.

KnownIceCandidatePairState

Each candidate pair in the check list has a foundation and a state. The foundation is the combination of the foundations of the local and remote candidates in the pair. The state is assigned once the check list for each media stream has been computed. There are five potential values that the state can have.

KnownProtocol

Known protocols used in the WebRTC.

MediaKind

RtcStat fields of RtcStatsType::MediaSource type based on its kind.

NonExhaustive

Enum with which you can try to deserialize some known enum and if it isn’t known, then unknown data will be stored as String in the NonExhaustive::Unknown variant.

ReceiverStatsKindextended-stats

Statistics related to a specific RTCRtpReceiver and the corresponding media-level metrics.

RtcInboundRtpStreamMediaType

Fields of RtcStatsType::InboundRtp variant.

RtcOutboundRtpStreamMediaType

RtcStat fields of RtcStatsType::OutboundRtp type based on mediaType.

RtcStatsType

All known types of RtcStats.

SenderStatsKindextended-stats

Statistics related to a specific RTCRtpSender and the corresponding media-level metrics.

TrackStatsKind

[kind attribute] values of the MediaStreamTrack.

Type Definitions

CandidateType

Non-exhaustive version of KnownCandidateType.

DataChannelState

Non-exhaustive version of KnownDataChannelState.

IceCandidatePairState

Non-exhaustive version of KnownIceCandidatePairState.

Protocol

Non-exhaustive version of KnownProtocol.