Hello,
we are trying to make iceServers work consistently. The issue is that sometimes the iceServer is what we have configured and sometimes it points to openvidu masters own IP, which causes issues to users behind restrictive firewalls.
We have this configuration in our backend:
IceServerProperties iceServerProperties = new IceServerProperties.Builder()
.url(TURN_URL)
.staticAuthSecret(STATIC_AUTH_SECRET)
.build();
ConnectionProperties connectionProperties = new ConnectionProperties.Builder().type(ConnectionType.WEBRTC)
.role(role).addCustomIceServer(iceServerProperties).build();
And when creating new session many times in a row, sometimes it works and sometimes it does not. This was also noticed from chrome://web-internals where iceServers show openvidu masters IP instead of configured TURN_URL.
Do you have any suggestions how to make it more consistent or is there something we’re doing wrong?