update firefox profile
This commit is contained in:
parent
d8dc752c67
commit
7a38834360
2 changed files with 22 additions and 2 deletions
|
@ -329,6 +329,20 @@ define(['browser'], function (browser) {
|
|||
});
|
||||
}
|
||||
|
||||
// Put mp4 ahead of webm
|
||||
if (browser.firefox) {
|
||||
profile.TranscodingProfiles.push({
|
||||
Container: 'mp4',
|
||||
Type: 'Video',
|
||||
AudioCodec: videoAudioCodecs.join(','),
|
||||
VideoCodec: 'h264',
|
||||
Context: 'Streaming',
|
||||
Protocol: 'http',
|
||||
// If audio transcoding is needed, limit to 2 channel
|
||||
MaxAudioChannels: '2'
|
||||
});
|
||||
}
|
||||
|
||||
if (canPlayWebm) {
|
||||
|
||||
profile.TranscodingProfiles.push({
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue