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

@ -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()
}
}

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) {

File diff suppressed because it is too large Load Diff