From 751b8d7fdfcd5d258441f92f30c96706f1a7c60f Mon Sep 17 00:00:00 2001 From: Luke Pulverenti Date: Tue, 29 Dec 2015 11:13:31 -0500 Subject: [PATCH] adjust video audio channels for safari --- dashboard-ui/scripts/mediaplayer.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/dashboard-ui/scripts/mediaplayer.js b/dashboard-ui/scripts/mediaplayer.js index a554a616c7..234073a530 100644 --- a/dashboard-ui/scripts/mediaplayer.js +++ b/dashboard-ui/scripts/mediaplayer.js @@ -316,6 +316,8 @@ } else { + var videoAudioChannels = browserInfo.safari ? '2' : '6'; + profile.CodecProfiles.push({ Type: 'VideoAudio', Codec: 'aac', @@ -335,7 +337,7 @@ { Condition: 'LessThanEqual', Property: 'AudioChannels', - Value: '6' + Value: videoAudioChannels } // Disabling this is going to require us to learn why it was disabled in the first place //, @@ -359,7 +361,7 @@ { Condition: 'LessThanEqual', Property: 'AudioChannels', - Value: '6' + Value: videoAudioChannels } ] });