vircadia / vircadia-web-sdk

Vircadia Web SDK - an SDK for the Vircadia platform that runs in your web browser.
Apache License 2.0
35 stars 29 forks source link

Web audio can play a couple of semitones too low. #226

Open ctrlaltdavid opened 1 year ago

ctrlaltdavid commented 1 year ago

And when it does this, the packets aren't processed fast enough so the ring buffer keeps overflowing then dropping frames which means that the audio has repeated glitches.

Partial repro: Using the Web SDK example app and native client, connect both to a distant server; use the native client's microphone and listen to it in the example app; disconnect and reconnect the example app; the audio will now sometimes suffer the problem.