diff options
Diffstat (limited to 'server/lib')
-rw-r--r-- | server/lib/plugins/register-helpers.ts | 4 |
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 | } |