RTCRemoteOutboundRtpStreamStats: kind property

The kind property of the RTCRemoteOutboundRtpStreamStats dictionary is a string indicating whether the described RTP stream contains audio or video media.

Value

The kinds is always one of:

"audio"

The track contains audio media.

"video"

The track contains video media.

This string will always be the same as the one provided by the associated MediaStreamTrack object's kind property. It will also match the statistics object's RTCCodecStats.codec property's media type.

Specifications

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

Browser compatibility

desktopmobile
Chrome
Edge
Firefox
Opera
Safari
Chrome Android
Firefox for Android
Opera Android
Safari on iOS
Samsung Internet
WebView Android
kind in 'remote-outbound-rtp' stats