|
|
|
@ -27,6 +27,7 @@ var details = function () { return ({
|
|
|
|
'eac3',
|
|
|
|
'eac3',
|
|
|
|
'dca',
|
|
|
|
'dca',
|
|
|
|
'flac',
|
|
|
|
'flac',
|
|
|
|
|
|
|
|
'libopus',
|
|
|
|
'mp2',
|
|
|
|
'mp2',
|
|
|
|
'libmp3lame',
|
|
|
|
'libmp3lame',
|
|
|
|
'truehd',
|
|
|
|
'truehd',
|
|
|
|
@ -148,6 +149,9 @@ var plugin = function (args) {
|
|
|
|
if (audioEncoder === 'libmp3lame') {
|
|
|
|
if (audioEncoder === 'libmp3lame') {
|
|
|
|
audioCodec = 'mp3';
|
|
|
|
audioCodec = 'mp3';
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
if (audioEncoder === 'libopus') {
|
|
|
|
|
|
|
|
audioCodec = 'opus';
|
|
|
|
|
|
|
|
}
|
|
|
|
var addedOrExists = attemptMakeStream({
|
|
|
|
var addedOrExists = attemptMakeStream({
|
|
|
|
args: args,
|
|
|
|
args: args,
|
|
|
|
langTag: langTag,
|
|
|
|
langTag: langTag,
|
|
|
|
|