Replies: 1 comment
-
I was experiencing the same issue, and after doing some research, I found a solution that helped me remove the delay:
This waits for a server-reflexive candidate before proceeding, which can help reduce the initial connection delay. Hope it helps! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
When using JsSIP for WebRTC calls, audio is not heard when calling outside the local network. After debugging, I identified that the issue is related to ICE candidates. I resolved it by hardcoding a value in the rtcSession configuration, but this causes an unintended delay in outgoing calls.
This needs an official fix to ensure audio works properly outside local networks and the outgoing call delay issue is resolved without requiring a hardcoded fix.Steps to Reproduce:

Set up JsSIP with a SIP server.
Make an outgoing call to a number outside the local network.
Observe that no audio is heard on the remote side.
Temporary Fix:
I modified the file at src/RTCSession.js, around line XX:
js
Copy
Edit
pcConfig.iceServers = [{ urls: "stun:stun.l.google.com:19302" }];
This resolved the audio issue but introduced a delay in outgoing calls.
Beta Was this translation helpful? Give feedback.
All reactions