RTCOutboundRtpStreamStats: active property
Limited availability
This feature is not Baseline because it does not work in some of the most widely-used browsers.
Experimental: This is an experimental technology
Check the Browser compatibility table carefully before using this in production.
Thuộc tính active của từ điển RTCOutboundRtpStreamStats là giá trị boolean cho biết liệu luồng RTP này có được cấu hình để gửi hay đã bị vô hiệu hóa.
Ví dụ, giá trị này sẽ là false nếu track tương ứng với luồng có thuộc tính MediaStreamTrack.enabled được đặt thành false. Lưu ý rằng một luồng đang hoạt động vẫn có thể không gửi dữ liệu nếu, chẳng hạn, luồng bị giới hạn bởi điều kiện mạng.
Giá trị
true nếu luồng được bật để gửi, false nếu không.
Thông số kỹ thuật
| Specification |
|---|
| Identifiers for WebRTC's Statistics API> # dom-rtcoutboundrtpstreamstats-active> |