fix: replace IndexedDB with Origin Private File System (OPFS)

OPFS (navigator.storage.getDirectory) provides direct filesystem
access scoped to the app's origin. Much more reliable than IndexedDB
for large blob storage — no transaction blocking, no connection issues.

Layout: recordings/{id}.frames (packed binary) + index.json (metadata)
Each recording stored as a single file write then close.
This commit is contained in:
2026-08-01 18:55:06 +08:00
parent 97e294f1d6
commit 36413bbf60
3 changed files with 95 additions and 82 deletions
File diff suppressed because one or more lines are too long