mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
remove audio channel limit from transcoding conditions
This commit is contained in:
parent
6c735c55a9
commit
f6a96553ef
1 changed files with 1 additions and 12 deletions
|
@ -404,6 +404,7 @@ define(['browser'], function (browser) {
|
|||
AudioCodec: videoAudioCodecs.join(','),
|
||||
VideoCodec: 'h264',
|
||||
Context: 'Streaming',
|
||||
MaxAudioChannels: physicalAudioChannels.toString(),
|
||||
CopyTimestamps: copyTimestamps
|
||||
});
|
||||
}
|
||||
|
@ -483,8 +484,6 @@ define(['browser'], function (browser) {
|
|||
}]
|
||||
});
|
||||
|
||||
var videoAudioChannels = browser.tizen ? '8' : '6';
|
||||
|
||||
// Handle he-aac not supported
|
||||
if (!videoTestElement.canPlayType('video/mp4; codecs="avc1.640029, mp4a.40.5"').replace(/no/, '')) {
|
||||
profile.CodecProfiles.push({
|
||||
|
@ -496,11 +495,6 @@ define(['browser'], function (browser) {
|
|||
Property: 'AudioProfile',
|
||||
Value: 'HE-AAC'
|
||||
},
|
||||
{
|
||||
Condition: 'LessThanEqual',
|
||||
Property: 'AudioChannels',
|
||||
Value: videoAudioChannels
|
||||
},
|
||||
{
|
||||
Condition: 'LessThanEqual',
|
||||
Property: 'AudioBitrate',
|
||||
|
@ -519,11 +513,6 @@ define(['browser'], function (browser) {
|
|||
profile.CodecProfiles.push({
|
||||
Type: 'VideoAudio',
|
||||
Conditions: [
|
||||
{
|
||||
Condition: 'LessThanEqual',
|
||||
Property: 'AudioChannels',
|
||||
Value: videoAudioChannels
|
||||
},
|
||||
{
|
||||
Condition: 'Equals',
|
||||
Property: 'IsSecondaryAudio',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue