mirror of
https://github.com/jellyfin/jellyfin-web.git
synced 2024-11-18 11:28:23 -07:00
adjust video audio channels for safari
This commit is contained in:
parent
3a6cc1b003
commit
0c9e8c99e8
@ -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…
Reference in New Issue
Block a user