W3cubDocs

/Web APIs

RTCOutboundRtpStreamStats: id property

The id property of the RTCOutboundRtpStreamStats dictionary is a string that uniquely identifies the object for which this object provides statistics.

Using the id, you can correlate this statistics object with others, in order to monitor statistics over time for a given WebRTC object, such as an RTCPeerConnection, or an RTCDataChannel.

Value

A string that uniquely identifies the object for which this RTCOutboundRtpStreamStats 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

Browser compatibility

Desktop Mobile
Chrome Edge Firefox Internet Explorer Opera Safari WebView Android Chrome Android Firefox for Android Opera Android Safari on IOS Samsung Internet
id 80 80 72 No 67 13.1 80 80 79 57 13.4 13.0

© 2005–2023 MDN contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-US/docs/Web/API/RTCOutboundRtpStreamStats/id