RTCAudioSourceStats: kind property

The kind property of the RTCAudioSourceStats dictionary is a string with the value audio.

The kind is used to differentiate between audio and video media sources when iterating an RTCStatsReport, which both have a type of media-source (a kind of video indicates an RTCVideoSourceStats object).

Value

A string with the value audio.

Specifications

Specification
Identifiers for WebRTC's Statistics API
# dom-rtcmediasourcestats-kind

Browser compatibility

desktopmobile
Chrome
Edge
Firefox
Opera
Safari
Chrome Android
Firefox for Android
Opera Android
Safari on iOS
Samsung Internet
WebView Android
WebView on iOS
kind in 'media-source' stats