yusitnikov / fix-webm-duration

navigator.mediaDevices.getUserMedia + MediaRecorder create WEBM files without duration metadata. This library appends missing metadata section right to the file blob.
MIT License
248 stars 48 forks source link

Does not seem to work on audio stream only #13

Closed omitech closed 2 years ago

omitech commented 2 years ago

It looks like nothing happens with the source from MediaRecorder contains only audio stream and no video. Or am I missing something?

omitech commented 2 years ago

my bad. was passing duration in seconds not milliseconds