adjust video audio channels for safari

This commit is contained in:
Luke Pulverenti 2015-12-29 11:13:31 -05:00
parent 3a6cc1b003
commit 0c9e8c99e8

View File

@ -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
} }
] ]
}); });