Closed shacharz closed 1 year ago
Correct, although Event.returnValue
is deprecated so the appropriate way would be
const iceController = new RTCIceController();
iceController.addEventListener('icepingproposed', event => {
if (!shouldTryToProbePair(event.candidatePair)) {
event.preventDefault();
}
});
Making sure the functionality is supported, If I read the spec correctly, this will be achieved like this, right?