From b2dc11b23150a588f35410684fd3bae87465e190 Mon Sep 17 00:00:00 2001 From: gnattu Date: Sat, 14 Sep 2024 18:03:19 +0800 Subject: [PATCH] Allow VP9 remuxing for chrome and firefox Have tested with HLS.js on those clients and works well in fMP4 container --- src/scripts/browserDeviceProfile.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/scripts/browserDeviceProfile.js b/src/scripts/browserDeviceProfile.js index 34fad3c237..5795f7fd36 100644 --- a/src/scripts/browserDeviceProfile.js +++ b/src/scripts/browserDeviceProfile.js @@ -667,7 +667,7 @@ export default function (options) { // Only iOS Safari's native HLS player understands vp9 in fmp4 // This should be used in conjunction with forcing // using HLS.js for VP9 remuxing on desktop Safari. - if (browser.safari) { + if (browser.safari || browser.edgeChromium || browser.chrome || browser.firefox) { hlsInFmp4VideoCodecs.push('vp9'); } // webm support is unreliable on safari 17