web/queue: add remuxing progress & general improvements

and a bunch of other stuff:
- size and percentage in queue
- indeterminate progress bar
- if libav wasm freezes, the worker kill itself
- cleaner states
- cleaner props
This commit is contained in:
wukko
2025-01-25 01:25:53 +06:00
parent c4c47bdc27
commit 44a99bdb3a
12 changed files with 117 additions and 53 deletions

View File

@@ -23,16 +23,16 @@ export const checkTasks = () => {
// one parent & pipeline
const pipelineItem = task.pipeline[i];
startWorker(pipelineItem);
addWorkerToQueue({
id: pipelineItem.workerId,
addWorkerToQueue(pipelineItem.workerId, {
parentId: task.id,
step: i + 1,
totalSteps: task.pipeline.length,
});
itemRunning(task.id, i);
itemRunning(
task.id,
pipelineItem.workerId
);
startWorker(pipelineItem);
break;
}
break;