aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared/models/plugins/server/managers/plugin-transcoding-manager.model.ts
blob: b6fb46ba01677c3156c98f93722f88ea1002ebdf (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
import { EncoderOptionsBuilder } from '../../../videos/transcoding'

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
}