Disable known broken fMP4 HLS container on Firefox 149

Only this major version 149 will not receive a fix, and it seems
that some Linux distributions ship this buggy version by default.

https://bugzilla.mozilla.org/show_bug.cgi?id=2026875

Signed-off-by: nyanmisaka <nst799610810@gmail.com>
This commit is contained in:
nyanmisaka
2026-05-29 01:23:04 +08:00
parent 72e90fc2e2
commit 5ce991d1a4
+6
View File
@@ -839,6 +839,12 @@ export default function (options) {
enableFmp4Hls = false;
}
// fMP4 in Firefox 149 is largely broken due to bad moof::traf::tfdt handling
// https://bugzilla.mozilla.org/show_bug.cgi?id=2026875
if (browser.firefox && browser.versionMajor == 149) {
enableFmp4Hls = false;
}
if (canPlayHls() && browser.enableHlsAudio !== false) {
profile.TranscodingProfiles.push({
Container: enableFmp4Hls ? 'mp4' : 'ts',