W3cubDocs

/DOM

RTCIceTransport.getLocalParameters

The RTCIceTransport method getLocalParameters() returns an RTCIceParameters object which provides information uniquely identifying the local peer for the duration of the ICE session.

The local peer's parameters are obtained during ICE signaling and delivered to the transport when the client calls RTCPeerConnection.setLocalDescription().

Syntax

parameters = RTCIceTransport.getLocalParameters();

Parameters

None.

Return value

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

Returns null if the parameters have not yet been received.

Specifications

Browser compatibilityUpdate compatibility data on GitHub

Desktop
Chrome Edge Firefox Internet Explorer Opera Safari
Basic support No No No No No No
Mobile
Android webview Chrome for Android Edge Mobile Firefox for Android Opera for Android iOS Safari Samsung Internet
Basic support No No ? No No No No

© 2005–2018 Mozilla Developer Network and individual contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-US/docs/Web/API/RTCIceTransport/getLocalParameters