RTCDataChannelStats: protocol 屬性
RTCDataChannelStats 字典的 protocol 屬性返回一個字串,其中包含關聯資料通道的 protocol。
該值由網站或應用程式在建立資料通道時定義。
值
一個字串,其中包含與關聯資料通道的 RTCDataChannel.protocol 屬性相同的值。
如果沒有定義協議,則此值將是空字串 ("")。
規範
| 規範 |
|---|
| WebRTC 統計 API 的識別符號 # dom-rtcdatachannelstats-protocol |
瀏覽器相容性
載入中…