1
0
Fork 0
mirror of https://github.com/Chocobozzz/PeerTube.git synced 2025-10-03 17:59:37 +02:00

Live streaming implementation first step

This commit is contained in:
Chocobozzz 2020-09-17 09:20:52 +02:00 committed by Chocobozzz
parent 110d463fec
commit c6c0fa6cd8
80 changed files with 2752 additions and 1303 deletions

View file

@ -1,6 +1,15 @@
import { NSFWPolicyType } from '../videos/nsfw-policy.type'
import { BroadcastMessageLevel } from './broadcast-message-level.type'
export type ConfigResolutions = {
'240p': boolean
'360p': boolean
'480p': boolean
'720p': boolean
'1080p': boolean
'2160p': boolean
}
export interface CustomConfig {
instance: {
name: string
@ -75,15 +84,7 @@ export interface CustomConfig {
allowAudioFiles: boolean
threads: number
resolutions: {
'0p': boolean
'240p': boolean
'360p': boolean
'480p': boolean
'720p': boolean
'1080p': boolean
'2160p': boolean
}
resolutions: ConfigResolutions & { '0p': boolean }
webtorrent: {
enabled: boolean
@ -94,6 +95,16 @@ export interface CustomConfig {
}
}
live: {
enabled: boolean
transcoding: {
enabled: boolean
threads: number
resolutions: ConfigResolutions
}
}
import: {
videos: {
http: {