mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Reorder safari hi10p profile before normal profile
This commit is contained in:
parent
dec593d37e
commit
03eb42a8cf
1 changed files with 17 additions and 17 deletions
|
@ -1258,6 +1258,23 @@ export default function (options) {
|
||||||
profile.CodecProfiles.push(codecProfileMp4);
|
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({
|
profile.CodecProfiles.push({
|
||||||
Type: 'Video',
|
Type: 'Video',
|
||||||
Codec: 'h264',
|
Codec: 'h264',
|
||||||
|
@ -1281,23 +1298,6 @@ export default function (options) {
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
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({
|
profile.CodecProfiles.push({
|
||||||
Type: 'Video',
|
Type: 'Video',
|
||||||
Codec: 'hevc',
|
Codec: 'hevc',
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue