aboutsummaryrefslogblamecommitdiffhomepage
path: root/shared/models/plugins/plugin-transcoding-manager.model.ts
blob: ff89687e950dfe01adbb4d3187f535751ad1e243 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11










                                                                                                 
import { EncoderOptionsBuilder } from '../videos/video-transcoding.model'

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
}