mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
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:
parent
037cdeb3e6
commit
076a5b4e2c
1 changed files with 2 additions and 2 deletions
|
@ -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');
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue