RTCRemoteInboundRtpStreamStats: id property
Baseline Widely available
This feature is well established and works across many devices and browser versions. It’s been available across browsers since April 2021.
Theid property of theRTCRemoteInboundRtpStreamStats dictionary is a string that uniquely identifies the object for which this object provides statistics.
Using theid, you can correlate this statistics object with others, in order to monitor statistics over time for a given WebRTC object, such as anRTCPeerConnection, or anRTCDataChannel.
In this article
Value
A string that uniquely identifies the object for which thisRTCRemoteInboundRtpStreamStats object provides statistics.
The format of the ID string is not defined by the specification, so you cannot reliably make any assumptions about the contents of the string, or assume that the format of the string will remain unchanged for a given object type.
Specifications
| Specification |
|---|
| Identifiers for WebRTC's Statistics API> # dom-rtcstats-id> |