RTCIceTransport
方法
getLocalParameters()
返回
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.
RTCIceParameters
object indicating the
usernameFragment
and
password
which uniquely identify the local peer for the duration of the ICE session.
返回
null
if the parameters have not yet been received.
| 规范 | 状态 | 注释 |
|---|---|---|
|
WebRTC 1.0: Real-time Communication Between Browsers
The definition of 'RTCIceTransport.getLocalParameters' in that specification. |
候选推荐 | 最初的规范。 |
| 桌面 | 移动 | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
getLocalParameters
|
Chrome No | Edge No | Firefox No | IE No | Opera No | Safari No | WebView Android No | Chrome Android No | Firefox Android No | Opera Android No | Safari iOS No | Samsung Internet Android No |
不支持
RTCIceTransport
getLocalCandidates()
getLocalParameters()
getSelectedCandidatePair()
MediaDevices.getUserMedia()
Navigator.mediaDevices
RTCCertificate
RTCDTMFSender
RTCDTMFToneChangeEvent
RTCDataChannel
RTCDataChannelEvent
RTCDtlsTransport
RTCErrorEvent
RTCIceCandidate
RTCPeerConnection
RTCPeerConnectionIceErrorEvent
RTCPeerConnectionIceEvent
RTCRtpReceiver
RTCRtpSender
RTCRtpTransceiver
RTCSctpTransport
RTCSessionDescription
RTCStatsEvent
RTCStatsReport
RTCTrackEvent