此页面由社区从英文翻译而来。了解更多并加入 MDN Web Docs 社区。

View in English Always switch to English

RTCDataChannelStats:dataChannelIdentifier 属性

Limited availability

This feature is not Baseline because it does not work in some of the most widely-used browsers.

RTCDataChannelStats 字典的 dataChannelIdentifier 属性包含与提供这些统计信息所关联的 RTCDataChannelid

通过使用 dataChannelIdentifier,你可以将此统计对象与特定的 RTCDataChannel 相关联。

包含与关联数据通道的 RTCDataChannel.id 属性相同值的字符串。

规范

Specification
Identifiers for WebRTC's Statistics API
# dom-rtcdatachannelstats-datachannelidentifier

浏览器兼容性