mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
adjust video audio channels for safari
This commit is contained in:
parent
dbfe037f6e
commit
751b8d7fdf
1 changed files with 4 additions and 2 deletions
|
@ -316,6 +316,8 @@
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
|
|
||||||
|
var videoAudioChannels = browserInfo.safari ? '2' : '6';
|
||||||
|
|
||||||
profile.CodecProfiles.push({
|
profile.CodecProfiles.push({
|
||||||
Type: 'VideoAudio',
|
Type: 'VideoAudio',
|
||||||
Codec: 'aac',
|
Codec: 'aac',
|
||||||
|
@ -335,7 +337,7 @@
|
||||||
{
|
{
|
||||||
Condition: 'LessThanEqual',
|
Condition: 'LessThanEqual',
|
||||||
Property: 'AudioChannels',
|
Property: 'AudioChannels',
|
||||||
Value: '6'
|
Value: videoAudioChannels
|
||||||
}
|
}
|
||||||
// Disabling this is going to require us to learn why it was disabled in the first place
|
// Disabling this is going to require us to learn why it was disabled in the first place
|
||||||
//,
|
//,
|
||||||
|
@ -359,7 +361,7 @@
|
||||||
{
|
{
|
||||||
Condition: 'LessThanEqual',
|
Condition: 'LessThanEqual',
|
||||||
Property: 'AudioChannels',
|
Property: 'AudioChannels',
|
||||||
Value: '6'
|
Value: videoAudioChannels
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
});
|
});
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue