Specify stun server problem

hello, I set specify at janus.jcfg a stun server(=coturn) using coturn rpm on linux7.
I did a streaming video using streaming plugin.
I saw a debug log below and it. It looks like take roughly under 1 sec
If i don’t specifying stun server, the message doesn’t appear and video appear 1~2 sec more faster.
why is this happen?

[DATE 01:25:23 2023] ...
[DATE 01:25:24 2023] [WARN] [{sessionId}] Waiting for candidates-done callback... 
[DATE 01:25:25 2023] ...

First of all, Janus shouldn’t need to use any STUN server at all, if well installed and configured: STUN is only needed by users, most of the times, while Janus if publicly reachable will never need one. If you know you really need STUN for Janus too and you’re getting that message, it likely means Janus can’t connect to the STUN server, so you have connectivity issues to fix on that server.

1 Like