RTCCodecStats: mimeType property

Baseline Widely available

This feature is well established and works across many devices and browser versions. It’s been available across browsers since January 2020.

The mimeType property of the RTCCodecStats dictionary is a string containing the codec's MIME type and subtype.

This is of the form "type/subtype", such as "video/VP8" or "audio/opus", as defined in the IANA registry of valid MIME types.

Values

A string indicating the code MIME type/subtype.

Specifications

Specification
Identifiers for WebRTC's Statistics API
# dom-rtccodecstats-mimetype

Browser compatibility

Report problems with this compatibility data on GitHub
desktopmobile
Chrome
Edge
Firefox
Opera
Safari
Chrome Android
Firefox for Android
Opera Android
Safari on iOS
Samsung Internet
WebView Android
WebView on iOS
mimeType in 'codec' stats

Legend

Tip: you can click/tap on a cell for more information.

Full support
Full support

See also