getRemoteCandidates method

JSArray<RTCIceCandidate> getRemoteCandidates()

The getRemoteCandidates() method of the RTCIceTransport interface returns an array that contains one RTCIceCandidate for each of the candidates that have been received from the remote peer so far during the current gathering session.

Each time your signaling code calls RTCPeerConnection.addIceCandidate to add a received candidate to the ICE session, the ICE agent places it in the list returned by this function.

Implementation

external JSArray<RTCIceCandidate> getRemoteCandidates();