Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How disable Chromium inbound permissions request when initialize RTCPeerConnection

When I initialize RTCPeerConnection, new RTCPeerConnection(...);, I'm receiving the following popup

enter image description here

It's adding inbound rule in Windows FW, I don't need it, event if I don't allow all my flows work well

I'm looking for a way to avoid this popup (set inbound network blocked by default) I tried check for Chromium flags and RTCPeerConnection constructor options with no luck

Is there a way to avoid this popup?

I tried use chromium 75 and 84, same behavior

It's not happening in chromium 74

like image 439
Roy Shmuli Avatar asked Nov 20 '25 20:11

Roy Shmuli


1 Answers

In case you control chromium features, disable enable-webrtc-hide-local-ips-with-mdns will resolve it, but the real local IP addresses will be shown in WebRTC ICE candidates.

These firewall rules are typically added during installation. https://bugs.chromium.org/p/chromium/issues/detail?id=1000955 has some information.

like image 50
Philipp Hancke Avatar answered Nov 22 '25 08:11

Philipp Hancke



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!