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()
.
parameters = RTCIceTransport.getLocalParameters();
None.
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.
Specification | Status | Comment |
---|---|---|
WebRTC 1.0: Real-time Communication Between Browsers The definition of 'RTCIceTransport.getLocalParameters' in that specification. | Candidate Recommendation | Initial specification. |
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