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(','),
|
AudioCodec: videoAudioCodecs.join(','),
|
||||||
VideoCodec: 'h264',
|
VideoCodec: 'h264',
|
||||||
Context: 'Streaming',
|
Context: 'Streaming',
|
||||||
|
MaxAudioChannels: physicalAudioChannels.toString(),
|
||||||
CopyTimestamps: copyTimestamps
|
CopyTimestamps: copyTimestamps
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
@ -483,8 +484,6 @@ define(['browser'], function (browser) {
|
||||||
}]
|
}]
|
||||||
});
|
});
|
||||||
|
|
||||||
var videoAudioChannels = browser.tizen ? '8' : '6';
|
|
||||||
|
|
||||||
// Handle he-aac not supported
|
// Handle he-aac not supported
|
||||||
if (!videoTestElement.canPlayType('video/mp4; codecs="avc1.640029, mp4a.40.5"').replace(/no/, '')) {
|
if (!videoTestElement.canPlayType('video/mp4; codecs="avc1.640029, mp4a.40.5"').replace(/no/, '')) {
|
||||||
profile.CodecProfiles.push({
|
profile.CodecProfiles.push({
|
||||||
|
@ -496,11 +495,6 @@ define(['browser'], function (browser) {
|
||||||
Property: 'AudioProfile',
|
Property: 'AudioProfile',
|
||||||
Value: 'HE-AAC'
|
Value: 'HE-AAC'
|
||||||
},
|
},
|
||||||
{
|
|
||||||
Condition: 'LessThanEqual',
|
|
||||||
Property: 'AudioChannels',
|
|
||||||
Value: videoAudioChannels
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
Condition: 'LessThanEqual',
|
Condition: 'LessThanEqual',
|
||||||
Property: 'AudioBitrate',
|
Property: 'AudioBitrate',
|
||||||
|
@ -519,11 +513,6 @@ define(['browser'], function (browser) {
|
||||||
profile.CodecProfiles.push({
|
profile.CodecProfiles.push({
|
||||||
Type: 'VideoAudio',
|
Type: 'VideoAudio',
|
||||||
Conditions: [
|
Conditions: [
|
||||||
{
|
|
||||||
Condition: 'LessThanEqual',
|
|
||||||
Property: 'AudioChannels',
|
|
||||||
Value: videoAudioChannels
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
Condition: 'Equals',
|
Condition: 'Equals',
|
||||||
Property: 'IsSecondaryAudio',
|
Property: 'IsSecondaryAudio',
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue