web api instance property
RTCCodecStats: mimeType property
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
SpecificationsStandards references are available on the canonical MDN page.
Browser compatibility
Browser compatibilityCompatibility data is available on the canonical MDN page.
See also
codecs.mimeTypeoption in parameter passed toRTCRtpTransceiver.setCodecPreferences()andRTCRtpSender.setParameters().codecs.mimeTypein object returned byRTCRtpSender.getParameters()andRTCRtpReceiver.getParameters().