Skip to content

Fix missing WebM recording duration metadata - #2

Merged
writemorecode merged 1 commit into
mainfrom
fix/webm-recording-duration
Aug 19, 2026
Merged

Fix missing WebM recording duration metadata#2
writemorecode merged 1 commit into
mainfrom
fix/webm-recording-duration

Conversation

@writemorecode

@writemorecode writemorecode commented Aug 19, 2026

Copy link
Copy Markdown
Owner

The Chrome MediaRecorder API does not store duration data for the WebM audio files it creates. This breaks the <audio> element seek functionality for these files. We fix this problem using the yusitnikov/fix-webm-duration library, built to fix this exact problem. Since this library has been inactive for ~2 years, we vendor this library and merge in the PR yusitnikov/fix-webm-duration#28, which implements a memory usage optimization.

@writemorecode
writemorecode merged commit 8464e71 into main Aug 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant