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
|
@ -382,8 +382,9 @@ export abstract class AbstractVideoList implements OnInit, OnDestroy, AfterConte
|
|||
}
|
||||
|
||||
private getUrlWithoutParams () {
|
||||
let urlTree = this.router.parseUrl(this.router.url)
|
||||
const urlTree = this.router.parseUrl(this.router.url)
|
||||
urlTree.queryParams = {}
|
||||
|
||||
return urlTree.toString()
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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) {
|
||||
|
|
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue