RTCDataChannelStats: thuộc tính state
Limited availability
This feature is not Baseline because it does not work in some of the most widely-used browsers.
Thuộc tính state của từ điển RTCDataChannelStats trả về chuỗi cho biết readyState của kết nối dữ liệu nền của kênh dữ liệu: connecting, open, closing hoặc closed.
Lưu ý rằng thuộc tính này là bắt buộc.
Giá trị
Chuỗi chứa cùng giá trị với thuộc tính RTCDataChannel.readyState của kênh dữ liệu liên kết.
Thông số kỹ thuật
| Specification |
|---|
| Identifiers for WebRTC's Statistics API> # dom-rtcdatachannelstats-state> |