BREAKING CHANGE(recorder): Remove FFmpeg-based MP4 conversion; simplify recorder/export to WebM and improve recorder/editor robustness

This commit is contained in:
2025-12-11 19:02:02 +00:00
parent d90df9717b
commit 12c85fa4cb
10 changed files with 32 additions and 522 deletions

View File

@@ -235,9 +235,11 @@ export class RecorderService {
}
}
private handleRecordingComplete(): void {
private async handleRecordingComplete(): Promise<void> {
// Create blob from recorded chunks
this._recordedBlob = new Blob(this.recordedChunks, { type: 'video/webm' });
const blob = new Blob(this.recordedChunks, { type: 'video/webm' });
this._recordedBlob = blob;
// Stop all tracks
if (this.currentStream) {