aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/tests/fixtures/peertube-plugin-test-transcoding-one
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2021-07-22 08:46:55 +0200
committerChocobozzz <me@florianbigard.com>2021-07-22 08:55:14 +0200
commit13e13377918b65c30b9334920fef4b43e70b964e (patch)
treea2e01e845d32663cbf4dbe1fd4be7f3fcf4244db /server/tests/fixtures/peertube-plugin-test-transcoding-one
parent7c94e1e7b61e9d3cff4a98a90bbad8d85bfc145d (diff)
downloadPeerTube-13e13377918b65c30b9334920fef4b43e70b964e.tar.gz
PeerTube-13e13377918b65c30b9334920fef4b43e70b964e.tar.zst
PeerTube-13e13377918b65c30b9334920fef4b43e70b964e.zip
Speed up plugin transcoding tests
Diffstat (limited to 'server/tests/fixtures/peertube-plugin-test-transcoding-one')
-rw-r--r--server/tests/fixtures/peertube-plugin-test-transcoding-one/main.js7
1 files changed, 3 insertions, 4 deletions
diff --git a/server/tests/fixtures/peertube-plugin-test-transcoding-one/main.js b/server/tests/fixtures/peertube-plugin-test-transcoding-one/main.js
index 59b136947..c4ae777f5 100644
--- a/server/tests/fixtures/peertube-plugin-test-transcoding-one/main.js
+++ b/server/tests/fixtures/peertube-plugin-test-transcoding-one/main.js
@@ -18,12 +18,12 @@ async function register ({ transcodingManager }) {
18 const builder = (options) => { 18 const builder = (options) => {
19 return { 19 return {
20 outputOptions: [ 20 outputOptions: [
21 '-r:' + options.streamNum + ' 5' 21 '-r:' + options.streamNum + ' 50'
22 ] 22 ]
23 } 23 }
24 } 24 }
25 25
26 transcodingManager.addLiveProfile('libx264', 'low-live', builder) 26 transcodingManager.addLiveProfile('libx264', 'high-live', builder)
27 } 27 }
28 } 28 }
29 29
@@ -45,7 +45,7 @@ async function register ({ transcodingManager }) {
45 const builder = () => { 45 const builder = () => {
46 return { 46 return {
47 inputOptions: [ 47 inputOptions: [
48 '-r 5' 48 '-r 50'
49 ] 49 ]
50 } 50 }
51 } 51 }
@@ -82,7 +82,6 @@ async function register ({ transcodingManager }) {
82 } 82 }
83} 83}
84 84
85
86async function unregister () { 85async function unregister () {
87 return 86 return
88} 87}