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

View in English Always switch to English

RTCDataChannelStats:label 属性

Limited availability

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

RTCDataChannelStats 字典的 label 属性返回关联数据通道的 label

标签的值不必是唯一的,并且其含义由创建数据通道的网站或应用程序定义。

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

规范

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

浏览器兼容性

参见