add support for inputOptions in trancode plugins

This commit is contained in:
Théo Le Calvar
2021-04-03 18:48:14 +02:00
committed by Chocobozzz
parent d2466f0ac9
commit 5fb7cfbac5
4 changed files with 13 additions and 5 deletions

View File

@@ -342,6 +342,7 @@ async function register ({
// You can also return a promise
return {
inputOptions: [],
outputOptions: [
// Use a custom bitrate
'-b' + streamString + ' 10K'
@@ -392,6 +393,7 @@ async function register ({
{
const builder = () => {
return {
inputOptions: [],
outputOptions: []
}
}