mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-10-03 01:39:37 +02:00
Support max FPS configuration
This commit is contained in:
parent
0bd2474fed
commit
bbaf96d60d
37 changed files with 736 additions and 623 deletions
|
@ -448,6 +448,9 @@ const CONFIG = {
|
|||
get '1440p' () { return config.get<boolean>('transcoding.resolutions.1440p') },
|
||||
get '2160p' () { return config.get<boolean>('transcoding.resolutions.2160p') }
|
||||
},
|
||||
FPS: {
|
||||
get MAX () { return config.get<number>('transcoding.fps.max') }
|
||||
},
|
||||
HLS: {
|
||||
get ENABLED () { return config.get<boolean>('transcoding.hls.enabled') },
|
||||
get SPLIT_AUDIO_AND_VIDEO () { return config.get<boolean>('transcoding.hls.split_audio_and_video') }
|
||||
|
@ -506,6 +509,11 @@ const CONFIG = {
|
|||
get '1440p' () { return config.get<boolean>('live.transcoding.resolutions.1440p') },
|
||||
get '2160p' () { return config.get<boolean>('live.transcoding.resolutions.2160p') }
|
||||
},
|
||||
|
||||
FPS: {
|
||||
get MAX () { return config.get<number>('live.transcoding.fps.max') }
|
||||
},
|
||||
|
||||
REMOTE_RUNNERS: {
|
||||
get ENABLED () { return config.get<boolean>('live.transcoding.remote_runners.enabled') }
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue