mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-10-03 09:49:20 +02:00
Support transcoding options/encoders by plugins
This commit is contained in:
parent
529b37527c
commit
1896bca09e
32 changed files with 754 additions and 135 deletions
|
@ -188,6 +188,7 @@ const CONFIG = {
|
|||
get ALLOW_ADDITIONAL_EXTENSIONS () { return config.get<boolean>('transcoding.allow_additional_extensions') },
|
||||
get ALLOW_AUDIO_FILES () { return config.get<boolean>('transcoding.allow_audio_files') },
|
||||
get THREADS () { return config.get<number>('transcoding.threads') },
|
||||
get PROFILE () { return config.get<string>('transcoding.profile') },
|
||||
RESOLUTIONS: {
|
||||
get '0p' () { return config.get<boolean>('transcoding.resolutions.0p') },
|
||||
get '240p' () { return config.get<boolean>('transcoding.resolutions.240p') },
|
||||
|
@ -221,6 +222,7 @@ const CONFIG = {
|
|||
TRANSCODING: {
|
||||
get ENABLED () { return config.get<boolean>('live.transcoding.enabled') },
|
||||
get THREADS () { return config.get<number>('live.transcoding.threads') },
|
||||
get PROFILE () { return config.get<string>('live.transcoding.profile') },
|
||||
|
||||
RESOLUTIONS: {
|
||||
get '240p' () { return config.get<boolean>('live.transcoding.resolutions.240p') },
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue