RTCRemoteOutboundRtpStreamStats: kind property

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

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

Value

The kinds is always one of:

"audio"

The stream contains audio media.

"video"

The stream contains video media.

Specifications

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

Browser compatibility

BCD tables only load in the browser