Add ability to disable webtorrent
In favour of HLS
This commit is contained in:
parent
14981d7331
commit
d7a25329f9
80 changed files with 1189 additions and 540 deletions
|
@ -95,6 +95,9 @@ async function getConfig (req: express.Request, res: express.Response) {
|
|||
hls: {
|
||||
enabled: CONFIG.TRANSCODING.HLS.ENABLED
|
||||
},
|
||||
webtorrent: {
|
||||
enabled: CONFIG.TRANSCODING.WEBTORRENT.ENABLED
|
||||
},
|
||||
enabledResolutions: getEnabledResolutions()
|
||||
},
|
||||
import: {
|
||||
|
@ -304,6 +307,9 @@ function customConfig (): CustomConfig {
|
|||
'1080p': CONFIG.TRANSCODING.RESOLUTIONS[ '1080p' ],
|
||||
'2160p': CONFIG.TRANSCODING.RESOLUTIONS[ '2160p' ]
|
||||
},
|
||||
webtorrent: {
|
||||
enabled: CONFIG.TRANSCODING.WEBTORRENT.ENABLED
|
||||
},
|
||||
hls: {
|
||||
enabled: CONFIG.TRANSCODING.HLS.ENABLED
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue