1
0
Fork 0
mirror of https://github.com/Chocobozzz/PeerTube.git synced 2025-10-04 02:09:37 +02:00

Add plugin transcoding profile guide

This commit is contained in:
Chocobozzz 2021-01-29 10:23:33 +01:00
parent 8a23909fe2
commit 2498aaead1
No known key found for this signature in database
GPG key ID: 583A612D890159BE
3 changed files with 94 additions and 0 deletions

View file

@ -438,6 +438,10 @@ export class RegisterHelpers {
addVODEncoderPriority (streamType: 'audio' | 'video', encoder: string, priority: number) {
return addEncoderPriority('vod', streamType, encoder, priority)
},
removeAllProfilesAndEncoderPriorities () {
return self.reinitTranscodingProfilesAndEncoders(self.npmName)
}
}
}