1
0
Fork 0
mirror of https://github.com/Chocobozzz/PeerTube.git synced 2025-10-06 03:50:26 +02:00

Reduce transcoding overhead by disabling resolutions

This commit is contained in:
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

View file

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