From f6a96553efb3b477fafb922d45550e52e3a9293b Mon Sep 17 00:00:00 2001 From: Luke Pulverenti Date: Thu, 27 Oct 2016 23:15:34 -0400 Subject: [PATCH] remove audio channel limit from transcoding conditions --- .../emby-webcomponents/browserdeviceprofile.js | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/dashboard-ui/bower_components/emby-webcomponents/browserdeviceprofile.js b/dashboard-ui/bower_components/emby-webcomponents/browserdeviceprofile.js index f19ef75e07..21f48ea437 100644 --- a/dashboard-ui/bower_components/emby-webcomponents/browserdeviceprofile.js +++ b/dashboard-ui/bower_components/emby-webcomponents/browserdeviceprofile.js @@ -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',