RTCRemoteInboundRtpStreamStats: thuộc tính kind
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.
Thuộc tính kind của từ điển RTCRemoteInboundRtpStreamStats là một chuỗi cho biết liệu luồng RTP được mô tả chứa media âm thanh hay video.
Chuỗi này sẽ luôn giống với kind của đối tượng MediaStreamTrack được mang theo luồng.
Nó cũng sẽ khớp với loại media của codec liên kết với đối tượng thống kê này (tức là kiểu MIME của thuộc tính RTCCodecStats.mimeType của codec liên kết).
Giá trị
Giá trị luôn là một trong:
Thông số kỹ thuật
| Specification |
|---|
| Identifiers for WebRTC's Statistics API> # dom-rtcrtpstreamstats-kind> |