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

14 lines
547 B
TypeScript
Raw Normal View History

2021-11-18 13:35:08 +00:00
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
2021-01-29 09:23:33 +00:00
2021-01-29 12:57:17 +00:00
removeAllProfilesAndEncoderPriorities(): void
}