Transcode audio uploads to lower resolutions
Better consistency
This commit is contained in:
parent
89613cb444
commit
40930fda86
|
@ -382,8 +382,9 @@ export abstract class AbstractVideoList implements OnInit, OnDestroy, AfterConte
|
||||||
}
|
}
|
||||||
|
|
||||||
private getUrlWithoutParams () {
|
private getUrlWithoutParams () {
|
||||||
let urlTree = this.router.parseUrl(this.router.url)
|
const urlTree = this.router.parseUrl(this.router.url)
|
||||||
urlTree.queryParams = {}
|
urlTree.queryParams = {}
|
||||||
|
|
||||||
return urlTree.toString()
|
return urlTree.toString()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -111,6 +111,8 @@ async function handleWebTorrentMergeAudioJob (job: Bull.Job, payload: MergeAudio
|
||||||
await mergeAudioVideofile(video, payload.resolution, job)
|
await mergeAudioVideofile(video, payload.resolution, job)
|
||||||
|
|
||||||
await retryTransactionWrapper(onNewWebTorrentFileResolution, video, user, payload)
|
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) {
|
async function handleWebTorrentOptimizeJob (job: Bull.Job, payload: OptimizeTranscodingPayload, video: MVideoFullLight, user: MUserId) {
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue