Merge branch 'fleet/story-d1-webm-remux'

This commit is contained in:
Giancarmine Salucci
2026-07-08 01:18:41 +02:00
5 changed files with 296 additions and 0 deletions
+3
View File
@@ -90,6 +90,9 @@ async function runJob(
} else {
rawAudioPath = await saveUploadedFile(input.buffer, input.filename, jobId);
title = input.filename.replace(/\.[^.]+$/, '');
// Remux webm files (MediaRecorder output) to fix Cues/duration
const { remuxUpload } = await import('./remux.js');
rawAudioPath = await remuxUpload(rawAudioPath, jobId);
}
updateJob({ id: jobId, title });