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',