]>
git.immae.eu Git - github/Chocobozzz/PeerTube.git/blob - server/tests/fixtures/peertube-plugin-test-transcoding-two/main.js
1 async
function register ({ transcodingManager
}) {
4 const builder
= () => {
10 transcodingManager
.addVODProfile('libopus', 'test-vod-profile', builder
)
11 transcodingManager
.addVODProfile('libvpx-vp9', 'test-vod-profile', builder
)
13 transcodingManager
.addVODEncoderPriority('audio', 'libopus', 1000)
14 transcodingManager
.addVODEncoderPriority('video', 'libvpx-vp9', 1000)
18 const builder
= (options
) => {
21 '-b:' + options
.streamNum
+ ' 10K'
26 transcodingManager
.addLiveProfile('libopus', 'test-live-profile', builder
)
27 transcodingManager
.addLiveEncoderPriority('audio', 'libopus', 1000)
31 async
function unregister () {