pc.onicecandidate = (event) => {
if (event.candidate) {
console.log(`Candidate gathered from: ${event.url}`);
}
};RTCPeerConnectionIceEvent: url property / notebook
RTCPeerConnectionIceEvent: url property
Runnable notebook: every JavaScript, HTML and CSS example on this page executes in a sandboxed local frame. Nothing leaves the browser.