Back to Content

RTCVideoSourceStats: kind property

files/en-us/web/api/rtcvideosourcestats/kind/index.md

latest541 B
Original Source

{{APIRef("WebRTC")}}

The kind property of the {{domxref("RTCVideoSourceStats")}} dictionary is a string with the value video.

The kind is used to differentiate between audio and video media sources when iterating an {{domxref("RTCStatsReport")}}, which both have a {{domxref("RTCVideoSourceStats.type", "type")}} of media-source (a kind of audio indicates an {{domxref("RTCAudioSourceStats")}} object).

Value

A string with the value video.

Specifications

{{Specifications}}

Browser compatibility

{{Compat}}