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 Status Comment
Identifiers for WebRTC's Statistics API
The definition of 'RTCRtpStreamStats.codecId' in that specification.
Candidate Recommendation Initial definition.

Browser compatibility

DesktopMobile
ChromeEdgeFirefoxInternet ExplorerOperaSafariAndroid webviewChrome for AndroidFirefox for AndroidOpera for AndroidSafari on iOSSamsung Internet
codecIdChrome No support NoEdge No support NoFirefox Full support 27IE No support NoOpera No support NoSafari ? WebView Android No support NoChrome Android No support NoFirefox Android Full support 27Opera Android No support NoSafari iOS ? Samsung Internet Android No support No

Legend

Full support
Full support
No support
No support
Compatibility unknown
Compatibility unknown