kaliatech / web-audio-recording-tests

Web audio recording tests, particularly for verifying functionality on iOS/Safari.
https://kaliatech.github.io/web-audio-recording-tests/dist/
MIT License
139 stars 34 forks source link

Safari cut 0.80 sec from the recorded audio #6

Open dev-ahmad opened 3 years ago

dev-ahmad commented 3 years ago

@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

kaliatech commented 3 years ago

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 :

You can see my related comment in the code here:

I don't remember if I ever verified if that was actually the problem, but you might start there.