This feature is not Baseline because it does not work in some of the most widely-used browsers.
The mediaSourceId property of the RTCOutboundRtpStreamStats dictionary represents the ID of the statistics object of the track currently attached to the sender of this stream.
This can then be used to obtain the corresponding RTCVideoSourceStats or RTCAudioSourceStats.
A string containing the ID of a media source statistics object.
| Specification |
|---|
| Identifiers for WebRTC's Statistics API> # dom-rtcoutboundrtpstreamstats-mediasourceid> |
| Desktop | Mobile | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Chrome | Edge | Firefox | Opera | Safari | Chrome Android | Firefox for Android | Opera Android | Safari on IOS | Samsung Internet | WebView Android | WebView on iOS | |
mediaSourceId |
80 | 80 | No | 67 | 14.1 | 80 | No | 57 | 14.5 | 13.0 | 80 | 14.5 |
© 2005–2025 MDN contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-US/docs/Web/API/RTCOutboundRtpStreamStats/mediaSourceId