upvote
I think it might. With a cooperating peer on an internet-routable IP address using ICE-lite you can use a static answer and it should still be possible for ICE to establish.

Haven't tried but in theory it should work.

You can apparently block WebRTC with `Content-Security-Policy: webrtc 'block'`

reply
Looks like that's only in Content Security Policy Level 3[0] which is in a working draft stage. It currently does nothing in Chrome or Firefox.

Right now there is a chrome-only policy to block it called Connection-Allowlist[1] eg

    Connection-Allowlist: (response-origin); webrtc=block

0: https://www.w3.org/TR/CSP3/

1: https://developer.chrome.com/blog/connection-allowlist-annou...

reply