RTCDataChannelStats:dataChannelIdentifier 属性
Limited availability
This feature is not Baseline because it does not work in some of the most widely-used browsers.
RTCDataChannelStats 字典的 dataChannelIdentifier 属性包含与提供这些统计信息所关联的 RTCDataChannel 的 id。
通过使用 dataChannelIdentifier,你可以将此统计对象与特定的 RTCDataChannel 相关联。
值
包含与关联数据通道的 RTCDataChannel.id 属性相同值的字符串。
规范
| Specification |
|---|
| Identifiers for WebRTC's Statistics API> # dom-rtcdatachannelstats-datachannelidentifier> |