WebRTC
The kind property of the RTCRemoteInboundRtpStreamStats dictionary is a string indicating whether the described RTP stream contains audio or video media.
This string will always be the same as the MediaStreamTrack.kind of the MediaStreamTrack 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's RTCCodecStats.mimeType property).
Value
The kind is always one of:
"audio"- : The stream contains audio media.
"video"- : The stream contains video media.
Specifications
Browser compatibility
来源:MDN Web Docs / Mozilla 贡献者 · 作者与贡献记录 · CC BY-SA 2.5。离线整理了版式、链接和媒体显示。
