aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/lib/job-queue/handlers/video-transcoding.ts
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2021-02-02 09:45:42 +0100
committerChocobozzz <me@florianbigard.com>2021-02-02 09:45:42 +0100
commit40930fda8615a9e0196e99602419cb74dda75e02 (patch)
tree5eafa64ec07938e44193175b97d5587b75e05f55 /server/lib/job-queue/handlers/video-transcoding.ts
parent89613cb444b4e1601d202153d0ec8635392ec872 (diff)
downloadPeerTube-40930fda8615a9e0196e99602419cb74dda75e02.tar.gz
PeerTube-40930fda8615a9e0196e99602419cb74dda75e02.tar.zst
PeerTube-40930fda8615a9e0196e99602419cb74dda75e02.zip
Transcode audio uploads to lower resolutions
Better consistency
Diffstat (limited to 'server/lib/job-queue/handlers/video-transcoding.ts')
-rw-r--r--server/lib/job-queue/handlers/video-transcoding.ts2
1 files changed, 2 insertions, 0 deletions
diff --git a/server/lib/job-queue/handlers/video-transcoding.ts b/server/lib/job-queue/handlers/video-transcoding.ts
index 8f88f0a8a..853cfebcd 100644
--- a/server/lib/job-queue/handlers/video-transcoding.ts
+++ b/server/lib/job-queue/handlers/video-transcoding.ts
@@ -111,6 +111,8 @@ async function handleWebTorrentMergeAudioJob (job: Bull.Job, payload: MergeAudio
111 await mergeAudioVideofile(video, payload.resolution, job) 111 await mergeAudioVideofile(video, payload.resolution, job)
112 112
113 await retryTransactionWrapper(onNewWebTorrentFileResolution, video, user, payload) 113 await retryTransactionWrapper(onNewWebTorrentFileResolution, video, user, payload)
114
115 await createLowerResolutionsJobs(video, user, payload.resolution, false)
114} 116}
115 117
116async function handleWebTorrentOptimizeJob (job: Bull.Job, payload: OptimizeTranscodingPayload, video: MVideoFullLight, user: MUserId) { 118async function handleWebTorrentOptimizeJob (job: Bull.Job, payload: OptimizeTranscodingPayload, video: MVideoFullLight, user: MUserId) {