The kind
property of the RTCRtpStreamStats
dictionary is a string indicating whether the described RTP stream contains audio or video media.
Its value is always either "audio"
or "video"
.
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.