Voice calls timing out #174
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
When I try to join a voice call I get "Connection timed out. Please check your network and try again." I also noticed that the message passed to whenTimeout is never used, which would be worth cleaning up.
@hodlbod I am only able to reproduce this in Firefox when using
localhostfrompnpm run dev. That's a known issue, Firefox doesn't support WebRTC on localhost for some reason. Is that where you are seeing the error? It works for me on Chromium and Safari and Firefox at https://shipwreck.scuttle.works (where I have deployed the video call branch).For posterity Jon is seeing this in Zen browser. I will try to reproduce with that.
@hodlbod I am pretty sure the issue with Zen is the same as the issue with Firefox, given that Zen is a fork of Firefox. I tested in Zen and can reproduce the connection error when flotilla is running on
localhost, but not when it's running atshipwreck.scuttle.works. Can you take the video calls for a spin at https://shipwreck.scuttle.works and confirm that you see the same?We can leave this ticket open to handle the whenTimeout error.
I was able to replicate it once on your deployment on first load, but then it worked twice. So it does seem to be a genuine race condition; maybe a cold start issue. Raising the timeout would probably do the trick.
@hodlbod Is this issue being worked upon? (I dont mind taking this up :) )
Sure, feel free to take a look.
@hodlbod I am defaulting to 15s timeout as opposed to the current 5s timeout (to match livekit's default and as anything in 5s to 10s range seems too agressive)