mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-02-25 18:55:32 -06:00
add support for inputOptions in trancode plugins
This commit is contained in:
committed by
Chocobozzz
parent
d2466f0ac9
commit
5fb7cfbac5
@@ -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: []
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user