mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Merge pull request #5901 from gnattu/safari-hi10p
This commit is contained in:
commit
c80e0fde0c
5 changed files with 48 additions and 0 deletions
|
@ -1317,6 +1317,23 @@ export default function (options) {
|
|||
profile.CodecProfiles.push(codecProfileMp4);
|
||||
}
|
||||
|
||||
if (browser.safari && appSettings.enableHi10p()) {
|
||||
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({
|
||||
Type: 'Video',
|
||||
Codec: 'h264',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue