aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/lib/plugins
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2021-01-29 10:23:33 +0100
committerChocobozzz <me@florianbigard.com>2021-01-29 14:05:41 +0100
commit2498aaead1fb4f34c8c375ef9edff33456c4527a (patch)
tree8850d9df5f2452b6532a812de1e5ced224d3f0e6 /server/lib/plugins
parent8a23909fe2381387841d5c355305d16460a27452 (diff)
downloadPeerTube-2498aaead1fb4f34c8c375ef9edff33456c4527a.tar.gz
PeerTube-2498aaead1fb4f34c8c375ef9edff33456c4527a.tar.zst
PeerTube-2498aaead1fb4f34c8c375ef9edff33456c4527a.zip
Add plugin transcoding profile guide
Diffstat (limited to 'server/lib/plugins')
-rw-r--r--server/lib/plugins/register-helpers.ts4
1 files changed, 4 insertions, 0 deletions
diff --git a/server/lib/plugins/register-helpers.ts b/server/lib/plugins/register-helpers.ts
index 3a38a4835..1f2a88c27 100644
--- a/server/lib/plugins/register-helpers.ts
+++ b/server/lib/plugins/register-helpers.ts
@@ -438,6 +438,10 @@ export class RegisterHelpers {
438 438
439 addVODEncoderPriority (streamType: 'audio' | 'video', encoder: string, priority: number) { 439 addVODEncoderPriority (streamType: 'audio' | 'video', encoder: string, priority: number) {
440 return addEncoderPriority('vod', streamType, encoder, priority) 440 return addEncoderPriority('vod', streamType, encoder, priority)
441 },
442
443 removeAllProfilesAndEncoderPriorities () {
444 return self.reinitTranscodingProfilesAndEncoders(self.npmName)
441 } 445 }
442 } 446 }
443 } 447 }