1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

Add support for H264 High 10 Profile on Safari

This commit is contained in:
gnattu 2024-08-10 17:33:59 +08:00
parent 6dade2eb56
commit 62b44d218c

View file

@ -1281,6 +1281,23 @@ export default function (options) {
}); });
} }
if (browser.safari && browser.version >= 17.5) {
profile.CodecProfiles.push({
Type: 'Video',
Container: 'hls',
SubContainer: 'mp4',
Codec: 'h264',
Conditions: [
{
Condition: 'EqualsAny',
Property: 'VideoProfile',
Value: h264Profiles + '|high 10',
IsRequired: false
}
]
});
}
profile.CodecProfiles.push({ profile.CodecProfiles.push({
Type: 'Video', Type: 'Video',
Codec: 'hevc', Codec: 'hevc',