RTCIceTransport: getRemoteParameters() method

The getRemoteParameters() method of the RTCIceTransport interface returns an RTCIceParameters object that 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().

Syntax

js
getRemoteParameters()

Parameters

None.

Return value

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

Returns null if the parameters haven't been received yet.

Specifications

Specification
WebRTC: Real-Time Communication in Browsers
# dom-rtcicetransport-getremoteparameters

Browser compatibility

Report problems with this compatibility data on GitHub
desktopmobile
Chrome
Edge
Firefox
Opera
Safari
Chrome Android
Firefox for Android
Opera Android
Safari on iOS
Samsung Internet
WebView Android
WebView on iOS
getRemoteParameters

Legend

Tip: you can click/tap on a cell for more information.

Full support
Full support
No support
No support