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:
parent
89613cb444
commit
40930fda86
3 changed files with 640 additions and 541 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue