fix(voice): stop offering h264 to firefox on linux (#3122)

This commit is contained in:
Hampus
2026-10-02 17:24:45 +02:00
committed by GitHub
parent 603b936536
commit efe94ed094
@@ -189,6 +189,13 @@ function getScreenShareCodecPolicyUnsupported(
detail: 'Firefox doesn\u2019t support H.265 encoding for WebRTC.', detail: 'Firefox doesn\u2019t support H.265 encoding for WebRTC.',
}; };
} }
if (context.firefox && context.platform === 'linux' && codec === 'h264') {
return {
supported: false,
reason: 'unsupported-browser',
detail: 'The voice server doesn\u2019t accept H.264 from Firefox on Linux or Android.',
};
}
return null; return null;
} }