RTCRtpStreamStats.codecId
The RTCRtpStreamStats dictionary's codecId property is a string which uniquely identifies the object that was inspected to produce the data in the RTCCodecStats for the RTP stream.
Syntax
var codecID = RTCRtpStreamStats.codecId;
Value
A DOMString which uniquely identifies the object from which the contents of the stream's RTCCodecStats are derived.
Specifications
| Specification |
|---|
| Identifiers for WebRTC's Statistics API (WebRTC Statistics) # dom-rtcrtpstreamstats-codecid |
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 | |
codecId |
No |
No |
27 |
No |
No |
11 |
No |
No |
27 |
No |
11 |
No |
© 2005–2021 MDN contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-US/docs/Web/API/RTCRtpStreamStats/codecId