1
0
Fork 0
mirror of https://github.com/Chocobozzz/PeerTube.git synced 2025-10-04 10:19:35 +02:00

Transcode audio uploads to lower resolutions

Better consistency
This commit is contained in:
Chocobozzz 2021-02-02 09:45:42 +01:00
parent 89613cb444
commit 40930fda86
No known key found for this signature in database
GPG key ID: 583A612D890159BE
3 changed files with 640 additions and 541 deletions

View file

@ -111,6 +111,8 @@ async function handleWebTorrentMergeAudioJob (job: Bull.Job, payload: MergeAudio
await mergeAudioVideofile(video, payload.resolution, job)
await retryTransactionWrapper(onNewWebTorrentFileResolution, video, user, payload)
await createLowerResolutionsJobs(video, user, payload.resolution, false)
}
async function handleWebTorrentOptimizeJob (job: Bull.Job, payload: OptimizeTranscodingPayload, video: MVideoFullLight, user: MUserId) {