const remoteCandidates = pc
.getSenders()[0]
.transport.transport.getRemoteCandidates();
remoteCandidates.forEach((candidate, index) => {
console.log(`Candidate ${index}: ${candidate.candidate}`);
});RTCIceTransport: getRemoteCandidates() method
Runnable notebook: every JavaScript, HTML and CSS example on this page executes in a sandboxed local frame. Nothing leaves the browser.