您正位於 MDN Web Docs 的可編輯版本

以 MDN Web Docs 使用者身分檢視: https://developer.mozilla.org/zh-TW/docs/Web/API/RTCIceRole

我們的志工尚未將本文翻譯為 正體中文 (繁體) 版本。加入我們,幫忙翻譯!
您也可以閱讀本文的 English (US) 版本。

The RTCIceRole enumerated type lists the string values that identify whether a connection's ICE agent is serving as the controlling agent or the controlled agent, as indicated by RTCIceTransport.role.

You can learn more about ICE roles in Choosing a candidate pair in WebRTC connectivity.

Values

"controlling"
The RTCIceTransport object is serving as the controlling agent.
"controlled"
The transport is the controlled agent.

Specifications

Specification Status Comment
WebRTC 1.0: Real-time Communication Between Browsers
The definition of 'RTCIceRole' in that specification.
Candidate Recommendation Initial definition.

Browser compatibility

No compatibility data found. Please contribute data for "api.RTCIceRole" (depth: 1) to the MDN compatibility data repository.

文件標籤與貢獻者

此頁面的貢獻者: mdnwebdocs-bot, Sheppy
最近更新: mdnwebdocs-bot,