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