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.


var codecID = RTCRtpStreamStats.codecId;


A DOMString which uniquely identifies the object from which the contents of the stream's RTCCodecStats are derived.


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
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 No support No


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