PeerTube/shared/models/plugins/server/managers/plugin-transcoding-manager....

14 lines
559 B
TypeScript
Raw Normal View History

2021-05-11 12:04:47 +02:00
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 10:23:33 +01:00
2021-01-29 13:57:17 +01:00
removeAllProfilesAndEncoderPriorities(): void
}