-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Remote audio takes 10 to 15 seconds to arrive #983
Comments
Hi, |
Did you mean, to use my own TURN server? |
Yes, |
I don’t think the TURN server alone is causing the delay. We use Coturn for the cloud TURN server. It’s reasonably simple to set up, so maybe just give it a try to see if it works. |
Yes,
We can try that one.
But also note that , the turn server and the stun server cause jitter
between the client and the server. If we improve the server hardware, the
jitter will decrease.
Thank you.
…On Mon, 8 Aug 2022, 17:49 Jonas Gloning, ***@***.***> wrote:
I don’t think the TURN server alone is causing the delay.
How’s the video/audio quality? Bad when delayed or still good?
Can you give a traceroute/ping to eu-0.turn.peerjs.com from your local
network?
Does the same delay happen when simulated on a desktop machine?
We use Coturn <https://github.com/coturn/coturn> for the cloud TURN
server. It’s reasonably simple to set up, so maybe just give it a try to
see if it works.
—
Reply to this email directly, view it on GitHub
<#983 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/ATSMARDBTAOHG2XAUZRIF2DVYD3MFANCNFSM53ZJVXAA>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Remote audio takes 10 to 15 seconds to arrive after
call.on('stream', function(stream)
is triggered. I tried to call without customiceServers
, tried on wifi and mobile data but the results are the same. There is also a lag in the audio/video, sometimes it is more than acceptable (more than 5 Seconds). When both devices are on the same wifi, the lag is less than 1 second. Is it because of the TURN server delay? How can I minimize it?Platform: Android 11 WebView.
The text was updated successfully, but these errors were encountered: