RTCIceTransport.getRemoteParameters()

The RTCIceTransport method getRemoteParameters() returns an 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().

Syntax

parameters = RTCIceTransport.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

Browser compatibility

Desktop Mobile
Chrome Edge Firefox Internet Explorer Opera Safari WebView Android Chrome Android Firefox for Android Opera Android Safari on IOS Samsung Internet
getRemoteParameters
75
13
No
No
62
No
75
75
No
54
No
11.0

© 2005–2021 MDN contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-US/docs/Web/API/RTCIceTransport/getRemoteParameters