Movatterモバイル変換


[0]ホーム

URL:


  1. Web
  2. Web APIs
  3. RTCInboundRtpStreamStats
  4. kind

RTCInboundRtpStreamStats: kind property

Baseline Widely available

This feature is well established and works across many devices and browser versions. It’s been available across browsers since ⁨September 2020⁩.

Thekind property of theRTCInboundRtpStreamStats dictionary is a string indicating whether the describedRTP stream contains audio or video media.

This string will always be the same as thekind of theMediaStreamTrack object carried by the stream.It will also match the media type of the codec associated with this statistics objects (i.e., the MIME type of the associated codec'sRTCCodecStats.mimeType property).

Value

The kind 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

Help improve MDN

Learn how to contribute

This page was last modified on byMDN contributors.


[8]ページ先頭

©2009-2025 Movatter.jp