-
Notifications
You must be signed in to change notification settings - Fork 101
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issues with audio recorded with HTML5 audio recorder #530
Comments
When I choose to record to audio/ogg I do get a duration in google chrome; still no duration in firefox; and also no reset of currentTime |
I believe not all browsers allow using a faux HTTP For Ogg, seeking is required to get the duration unless it's specified in skeleton header data (which is unlikely for audio, but possible). Note that Safari does support range requests on blob URIs, so if you're using ogv.js as a Safari compatibility shim it should work there. If you for some reason need to use ogv.js in Chrome and Firefox too, a possible but ugly workaround is to create a custom StreamFile-compatible object that chops up the blob with Unfortunately I'm not sure I can make that transparent as there's no way I know of to get the original Blob back from the URL string; there may be though that I just haven't realized yet. :) |
Ah ok, thanks. I do have the original blob. But I guess I will do things more simple ;)
|
I have recorded audio/webm;codec=opus using firefox and also testing in chrome. In firefox I can't seem to seek, duration seems infinite and after playback the position is not reset to the start.
Error: Cannot seek a non-seekable stream
I recorded using react-mic, and the source is a bloburl. The issue does not occur when I use the regular html5 audio tag.
Chrome does reset the stream after onended is called. But duration is infinite as well. Am I doing something wrong?
The text was updated successfully, but these errors were encountered: