Open source Loom alternative. Beautiful, shareable screen recordings.
Rust appcapcossloommacnextjsnextjs15open-sourceossreactrecordrustscreen-capturescreen-recorderscreenshotsolidjstauritauri-apptypescriptvite
feat(workflows): pass output verification URL to media server edit job
Richie McIlroyb388592b9aa6
diff --git a/apps/web/workflows/edit-video.ts b/apps/web/workflows/edit-video.tsindex 9b73658f2..8202d76ce 100644--- a/apps/web/workflows/edit-video.ts+++ b/apps/web/workflows/edit-video.ts@@ -142,6 +142,7 @@ async function startMediaServerEditJob(userId: string;sourceUrl: string;outputPresignedUrl: string;+ outputVerificationUrl?: string;thumbnailPresignedUrl: string;previewGifPresignedUrl: string;webhookUrl: string;@@ -261,6 +262,12 @@ async function renderVideoEditOnMediaServer().pipe(runPromise);+ const outputVerificationUrl = await bucket+ .getInternalSignedObjectUrl(outputKey, {+ expiresIn: MEDIA_SERVER_PRESIGNED_GET_EXPIRES_SECONDS,+ })+ .pipe(runPromise);+const thumbnailPresignedUrl = await bucket.getInternalPresignedPutUrl(thumbnailKey,@@ -301,6 +308,7 @@ async function renderVideoEditOnMediaServer(userId,sourceUrl,outputPresignedUrl,+ outputVerificationUrl,thumbnailPresignedUrl,previewGifPresignedUrl,webhookUrl,