WebRTC
The getLocalParameters() method of the RTCIceTransport interface returns an RTCIceParameters object that 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
getLocalParameters()
Parameters
None.
Return value
An RTCIceParameters object indicating the RTCIceParameters.usernameFragment and RTCIceParameters.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 compatibility
来源:MDN Web Docs / Mozilla 贡献者 · 作者与贡献记录 · CC BY-SA 2.5。离线整理了版式、链接和媒体显示。
