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

View in English Always switch to English

RTCTransportStats:dtlsState 属性

Limited availability

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

RTCTransportStats 字典的 dtlsState 属性是表示底层 RTCDtlsTransport 的当前状态的字符串。

该属性值与对应的 RTCDtlsTransport.state 属性相同。

字符串,其值可以是以下值之一:newconnectingconnectedclosedfailed

规范

Specification
Identifiers for WebRTC's Statistics API
# dom-rtctransportstats-dtlsstate

浏览器兼容性