Hello team,
I am facing an issue with my local Janus Docker setup. I have opened ports 10000–40000 and used:
docker run --rm --network host janus-gateway
However, when I pick up a call, there is no audio at all on my local instance. The Docker instance is running on Ubuntu (Windows WSL).
My Go-Lang code works well when Janus is installed remotely—everything functions correctly. The issue only occurs with the local setup.
I have even gone to the extent of adding a TURN server and a STUN server in the settings, but there is still no audio. I have checked the logs but can’t seem to find much. Here are my logs:
Logs: Janus-SIP Logs - Pastebin.com
Here are some of the configurations:
Janus
nat: {
stun_server = "stun.l.google.com"
stun_port = 19302
nice_debug = true
...
}
SIP
#local_ip = "1.2.3.4"
#sdp_ip = "102.37.58.226"
keepalive_interval = 120
behind_nat = true # also tried false
My App logs
2025/03/25 19:16:45.082746 Connected to Janus
2025/03/25 19:16:49.122327 Sending ICE Candidate for 2675488771: candidate:375742070 1 udp 2130706431 192.168.0.101 52710 typ host ufrag tXWibjotZVbcfFGm
(0x0,0x0)2025/03/25 19:16:49.128315 Sending ICE Candidate for 2675488771: candidate:4214955273 1 udp 2130706431 172.29.96.1 52713 typ host ufrag tXWibjotZVbcfFGm
2025/03/25 19:16:49.129617 Sending ICE Candidate for 2675488771: candidate:3746851485 1 udp 2130706431 172.24.0.1 52715 typ host ufrag tXWibjotZVbcfFGm
2025/03/25 19:16:49.205867 Sending ICE Candidate for 2675488771: candidate:174235463 1 udp 1694498815 197.184.87.131 13856 typ srflx raddr 0.0.0.0 rport 52712 ufrag tXWibjotZVbcfFGm
2025/03/25 19:16:49.207002 ICE gathering complete for 2675488771
2025/03/25 19:16:49.816192 Waiting for initial buffer for 2675488771: 0 frames queued
2025/03/25 19:16:50.502954 Remote SDP consumed successfully for: 2675488771
2025/03/25 19:16:50.502954 Successfully consumed remote SDP for 2675488771
2025/03/25 19:16:50.502954 ICE Connection state for 2675488771: checking
2025/03/25 19:16:50.502954 PeerConnection state for 2675488771: connecting
2025/03/25 19:16:50.710123 ICE Connection state for 2675488771: connected
2025/03/25 19:16:50.727167 PeerConnection state for 2675488771: connected
2025/03/25 19:16:50.727681 PeerConnection for 2675488771 is fully connected, audio should flow
Any insights would be appreciated!