aboutsummaryrefslogblamecommitdiffhomepage
path: root/packages/models/src/plugins/server/managers/plugin-transcoding-manager.model.ts
blob: 235f5c65dd202cd457a735d9d7af7afc130e8560 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
                                                                            








                                                                                                 
 
                                               
 
import { EncoderOptionsBuilder } from '../../../videos/transcoding/index.js'

export interface PluginTranscodingManager {
  addLiveProfile (encoder: string, profile: string, builder: EncoderOptionsBuilder): boolean

  addVODProfile (encoder: string, profile: string, builder: EncoderOptionsBuilder): boolean

  addLiveEncoderPriority (streamType: 'audio' | 'video', encoder: string, priority: number): void

  addVODEncoderPriority (streamType: 'audio' | 'video', encoder: string, priority: number): void

  removeAllProfilesAndEncoderPriorities(): void
}