RTCIceTransport 方法 getRemoteParameters() 返回 RTCIceParameters object which provides information uniquely identifying the remote peer for the duration of the ICE session.

The remote peer's parameters are received during ICE signaling and delivered to the transport when the client calls RTCPeerConnection.setRemoteDescription() .

句法

parameters = RTCIceTransport.getRemoteParameters();
					

参数

None.

返回值

RTCIceParameters object indicating the usernameFragment and password which uniquely identify the remote peer for the duration of the ICE session.

返回 null if the parameters haven't been received yet.

规范

规范 状态 注释
WebRTC 1.0: Real-time Communication Between Browsers
The definition of 'RTCIceTransport.getRemoteParameters' in that specification.
候选推荐 最初的规范。

浏览器兼容性

The compatibility table on this page is generated from structured data. If you'd like to contribute to the data, please check out https://github.com/mdn/browser-compat-data and send us a pull request. 更新 GitHub 上的兼容性数据
桌面 移动
Chrome Edge Firefox Internet Explorer Opera Safari Android webview Chrome for Android Firefox for Android Opera for Android Safari on iOS Samsung Internet
getRemoteParameters Chrome No Edge 15 — 79 Firefox No IE No Opera No Safari No WebView Android No Chrome Android No Firefox Android No Opera Android No Safari iOS No Samsung Internet Android No

图例

不支持

不支持

元数据

  • 最后修改: