1
0
Fork 0
peertube/shared/models/plugins/plugin-transcoding-manager.model.ts

14 lines
553 B
TypeScript
Raw Normal View History

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
2021-01-29 04:23:33 -05:00
2021-01-29 07:57:17 -05:00
removeAllProfilesAndEncoderPriorities(): void
}