Skip to content
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

recorded audio's duration is less than the duration assigned #34

Open
anishjana opened this issue Jan 12, 2021 · 1 comment
Open

recorded audio's duration is less than the duration assigned #34

anishjana opened this issue Jan 12, 2021 · 1 comment
Labels

Comments

@anishjana
Copy link

anishjana commented Jan 12, 2021

I have made a fiddle , which automatically stops recording after 5 secs. However the audio generated is always less than 5 secs, most of the time around 4.7secs.

How to get precision timing? are some blobs dropped while converting to mp3?

@Sam-Apostel
Copy link

Not the author of this package but because of a pop in the start of a recording there was a delay added. You can disable the delay by passing the option startRecordingAt: 0 together with the bitrate or you can increase the duration you record for by 300 milliseconds.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants