mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-10-04 02:09:37 +02:00
Reorganize plugin models
This commit is contained in:
parent
2b02c520e6
commit
428ccb8b7a
48 changed files with 113 additions and 112 deletions
|
@ -0,0 +1,13 @@
|
|||
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
|
||||
|
||||
removeAllProfilesAndEncoderPriorities(): void
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue