aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/firefox
diff options
context:
space:
mode:
authorLibravatar sommerfeld <sommerfeld@sommerfeld.dev>2026-05-13 13:43:42 +0100
committerLibravatar sommerfeld <sommerfeld@sommerfeld.dev>2026-05-13 13:43:42 +0100
commit243ff210d3677764fabe90897bf3a08742170a2b (patch)
tree42e1e8e6843365a061df3ce53f6d13ca7a332272 /firefox
parent6c9641629be956399d2de24c578ebc6ca239d558 (diff)
downloaddotfiles-243ff210d3677764fabe90897bf3a08742170a2b.tar.gz
dotfiles-243ff210d3677764fabe90897bf3a08742170a2b.tar.bz2
dotfiles-243ff210d3677764fabe90897bf3a08742170a2b.zip
feat(firefox): re-enable OpenH264 GMP for MS Teams video
LibreWolf disables media.gmp-provider.enabled and media.gmp-gmpopenh264.enabled and falls back to media.webrtc.hw.h264.enabled=true. On Linux this rarely works because Mozilla's bundled FFmpeg doesn't ship H.264 encode support (patent policy), so the SDP offers H.264 but the encoder produces no frames. Result: local camera preview works (raw MediaStreamTrack, no encoding) but remote participants see no video. Affects MS Teams (H.264 primary); does not affect Google Meet (VP8/VP9 native). Same symptom in flatpak and native LibreWolf builds, confirming sandbox is not the cause. arkenfox 2020 deliberately leaves media.gmp-provider.enabled commented out and does not touch the OpenH264 plugin pref. Re-enabling here brings us in line with arkenfox. media.gmp-manager.url is restored from LibreWolf's data:text/plain blank so the OpenH264 GMP can actually download.
Diffstat (limited to 'firefox')
-rw-r--r--firefox/user-overrides.js10
1 files changed, 10 insertions, 0 deletions
diff --git a/firefox/user-overrides.js b/firefox/user-overrides.js
index dfc2abb..6265f95 100644
--- a/firefox/user-overrides.js
+++ b/firefox/user-overrides.js
@@ -16,6 +16,16 @@ user_pref("extensions.formautofill.heuristics.enabled", false);
/** DRM **/
user_pref("browser.eme.ui.enabled", false); // hide DRM UI toggle
+/** OpenH264 for WebRTC (MS Teams, any H.264-only conferencing) **/
+// LibreWolf disables the GMP provider and the OpenH264 plugin, and pretends
+// media.webrtc.hw.h264.enabled=true covers it. On Linux Mozilla's FFmpeg
+// doesn't ship H.264 encode (patent policy), so Teams gets no usable encoder
+// and remote participants see no video while local preview works.
+// arkenfox 2020 deliberately leaves GMP alone; this aligns with arkenfox.
+user_pref("media.gmp-provider.enabled", true);
+user_pref("media.gmp-gmpopenh264.enabled", true);
+user_pref("media.gmp-manager.url", "https://aus5.mozilla.org/update/3/GMP/%VERSION%/%BUILD_ID%/%BUILD_TARGET%/%LOCALE%/%CHANNEL%/%OS_VERSION%/%DISTRIBUTION%/%DISTRIBUTION_VERSION%/update.xml");
+
/** Network **/
user_pref("network.dns.disableIPv6", false); // keep IPv6 enabled