Skip to content

Commit 64cfc57

Browse files
committed
Use default_public_interface_only in Chromium-based browser
Related feedback: - https://www.reddit.com/r/uBlockOrigin/comments/hbea3z/ It appears the implementation of the `disable_non_proxied_udp` setting changed in Chromium, leading to WebRTC becoming wholly unfunctional. Fall back to use `default_public_interface_only` in Chromium-based browsers.
1 parent f889dc6 commit 64cfc57

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

platform/chromium/vapi-background.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ vAPI.browserSettings = (( ) => {
184184
// https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/API/privacy/network#Browser_compatibility
185185
// Firefox 70+ supports `disable_non_proxied_udp`
186186
const value =
187-
vAPI.webextFlavor.soup.has('firefox') &&
187+
vAPI.webextFlavor.soup.has('firefox') === false ||
188188
vAPI.webextFlavor.major < 70
189189
? 'default_public_interface_only'
190190
: 'disable_non_proxied_udp';

0 commit comments

Comments
 (0)