web-audio-recording-tests
web-audio-recording-tests copied to clipboard
Safari cut 0.80 sec from the recorded audio
@kaliatech @leocabrallce That you guys for this amazing repo!
I have a small issue while I'm recording on Safari, when you try to record your voice, then play the recorded voice, Safari trims about 0.80 sec from the recorded audio, is it an issue from Safari?
also while I'm searching for other recorder libraries, I found this issue on many repos on GitHub.
so based on your knowledge guys, is it an issue from Safari for all recorders?
Thank you
It's been a while since I messed with this and don't have time to look into the details, but I remember having similar issues when I built these tests, and at the time thinking it was likely a timing issue in Safari related to :
- worker processing the last sample message
- worker processing the final dump message
You can see my related comment in the code here:
- https://github.com/kaliatech/web-audio-recording-tests/blob/master/src/shared/RecorderService.js#L285-L286
I don't remember if I ever verified if that was actually the problem, but you might start there.