This property was previously called
mediaType. The name was changed in the
specification in February, 2018. See Browser compatibility below to
determine how this affects the browsers you're targeting.
mediaKind = RTCRtpStreamStats.kind;
DOMString whose value is
"audio" if the track whose
statistics are given by the
RTCRtpStreamStats object contains audio, or
"video" if the track contains video media.
This string will always be the same as the one provided by the associated
property. It will also match the statistics object's
property's media type.
|Identifiers for WebRTC's Statistics API
The definition of 'RTCRtpStreamStats.kind' in that specification.
|Candidate Recommendation||Initial definition.|
BCD tables only load in the browser