Enable AV1 remuxing via HLS fMP4 on Safari
AV1 should be supported by Apple devices that support hardware acceleration. Software decoding is not yet supported on Safari. See also https://bitmovin.com/apple-av1-support Signed-off-by: nyanmisaka <nst799610810@gmail.com>
This commit is contained in:
@@ -573,8 +573,8 @@ export default function (options) {
|
||||
const hlsInFmp4VideoCodecs = [];
|
||||
|
||||
if (canPlayAv1(videoTestElement)
|
||||
&& !browser.mobile && (browser.edgeChromium || browser.firefox || browser.chrome)) {
|
||||
// disable av1 on mobile since it can be very slow software decoding
|
||||
&& (browser.safari || (!browser.mobile && (browser.edgeChromium || browser.firefox || browser.chrome)))) {
|
||||
// disable av1 on non-safari mobile browsers since it can be very slow software decoding
|
||||
hlsInFmp4VideoCodecs.push('av1');
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user