RTCVideoSourceStats: kind property

Baseline 2023
Newly available

Since May 2023, this feature works across the latest devices and browser versions. This feature might not work in older devices or browsers.

The kind property of the RTCVideoSourceStats dictionary is a string with the value video.

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 audio indicates an RTCAudioSourceStats object).

Value

A string with the value video.

Specifications

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

Browser compatibility