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

Update compatibility data on GitHub
DesktopMobile
ChromeEdgeFirefoxInternet ExplorerOperaSafariAndroid webviewChrome for AndroidFirefox for AndroidOpera for AndroidSafari on iOSSamsung Internet
codecIdChrome No support NoEdge ? Firefox 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 ?

Legend

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