aboutsummaryrefslogtreecommitdiffhomepage
path: root/support
diff options
context:
space:
mode:
authorThéo Le Calvar <tlc@kher.nl>2021-04-03 18:48:14 +0200
committerChocobozzz <chocobozzz@cpy.re>2021-04-09 15:53:18 +0200
commit5fb7cfbac50e2c55f04182e40bc6f84e5dd4a4da (patch)
tree8a253611577988fb71527477ae138be7eaf49c6b /support
parentd2466f0ac9c9877df10f62b7ac20bc3253a2a84a (diff)
downloadPeerTube-5fb7cfbac50e2c55f04182e40bc6f84e5dd4a4da.tar.gz
PeerTube-5fb7cfbac50e2c55f04182e40bc6f84e5dd4a4da.tar.zst
PeerTube-5fb7cfbac50e2c55f04182e40bc6f84e5dd4a4da.zip
add support for inputOptions in trancode plugins
Diffstat (limited to 'support')
-rw-r--r--support/doc/plugins/guide.md2
1 files changed, 2 insertions, 0 deletions
diff --git a/support/doc/plugins/guide.md b/support/doc/plugins/guide.md
index f5e753b79..18e962c10 100644
--- a/support/doc/plugins/guide.md
+++ b/support/doc/plugins/guide.md
@@ -342,6 +342,7 @@ async function register ({
342 342
343 // You can also return a promise 343 // You can also return a promise
344 return { 344 return {
345 inputOptions: [],
345 outputOptions: [ 346 outputOptions: [
346 // Use a custom bitrate 347 // Use a custom bitrate
347 '-b' + streamString + ' 10K' 348 '-b' + streamString + ' 10K'
@@ -392,6 +393,7 @@ async function register ({
392 { 393 {
393 const builder = () => { 394 const builder = () => {
394 return { 395 return {
396 inputOptions: [],
395 outputOptions: [] 397 outputOptions: []
396 } 398 }
397 } 399 }