]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blob - shared/models/plugins/server/managers/plugin-transcoding-manager.model.ts
Merge branch 'release/3.2.0' into develop
[github/Chocobozzz/PeerTube.git] / shared / models / plugins / server / managers / plugin-transcoding-manager.model.ts
1 import { EncoderOptionsBuilder } from '../../../videos/video-transcoding.model'
2
3 export interface PluginTranscodingManager {
4 addLiveProfile (encoder: string, profile: string, builder: EncoderOptionsBuilder): boolean
5
6 addVODProfile (encoder: string, profile: string, builder: EncoderOptionsBuilder): boolean
7
8 addLiveEncoderPriority (streamType: 'audio' | 'video', encoder: string, priority: number): void
9
10 addVODEncoderPriority (streamType: 'audio' | 'video', encoder: string, priority: number): void
11
12 removeAllProfilesAndEncoderPriorities(): void
13 }