]>
git.immae.eu Git - github/Chocobozzz/PeerTube.git/blob - server/tests/fixtures/peertube-plugin-test-transcoding-one/main.js
1 async
function register ({ transcodingManager
}) {
4 const builder
= () => {
12 transcodingManager
.addVODProfile('libx264', 'low-vod', builder
)
16 const builder
= () => {
24 transcodingManager
.addVODProfile('libx264', 'video-filters-vod', builder
)
28 const builder
= () => {
36 transcodingManager
.addVODProfile('libx264', 'input-options-vod', builder
)
40 const builder
= (options
) => {
43 '-r:' + options
.streamNum
+ ' 5'
48 transcodingManager
.addLiveProfile('libx264', 'low-live', builder
)
52 const builder
= () => {
60 transcodingManager
.addLiveProfile('libx264', 'input-options-live', builder
)
65 async
function unregister () {