RTCAudioSourceStats: 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 May 2023.
Thuộc tính kind của từ điển RTCAudioSourceStats là một chuỗi với giá trị audio.
kind được sử dụng để phân biệt giữa nguồn media âm thanh và video khi duyệt qua RTCStatsReport, cả hai đều có type là media-source (kind là video cho biết đối tượng RTCVideoSourceStats).
Giá trị
Một chuỗi với giá trị audio.
Thông số kỹ thuật
| Specification |
|---|
| Identifiers for WebRTC's Statistics API> # dom-rtcmediasourcestats-kind> |