Reduce transcoding overhead by disabling resolutions

pull/3662/head
Chocobozzz 2021-01-29 08:43:53 +01:00
parent 149e4cc597
commit b3eafc5fc5
No known key found for this signature in database
GPG Key ID: 583A612D890159BE
1 changed files with 13 additions and 1 deletions

View File

@ -44,12 +44,24 @@ function updateConf (server: ServerInfo, vodProfile: string, liveProfile: string
},
webtorrent: {
enabled: true
},
resolutions: {
'240p': true,
'360p': false,
'480p': false,
'720p': true
}
},
live: {
transcoding: {
profile: liveProfile,
enabled: true
enabled: true,
resolutions: {
'240p': true,
'360p': false,
'480p': false,
'720p': true
}
}
}
})