For some reason subscriptions in our test setup stopped working today. We are seeing this Error on the client side:
Ooops: 490 Error setting ICE locally
error creating answer 490 Error setting ICE locally
and the matching error in the Janus logs:
[Fri Jun 1 15:21:27 2018] [8206877793709622] Creating ICE agent (ICE Full mode, controlling)
[Fri Jun 1 15:21:27 2018] [WARN] [8206877793709622] Agent already exists?
[Fri Jun 1 15:21:27 2018] [ERR] [janus.c:janus_process_incoming_request:1179] Error setting ICE locally
So it seems that the first line there matches with a successfull call to janus_ice_setup_local, while the warning and error comes from a failed call (ice.c:2906).
As a result subscribers get no remote candidates and the stream just stops before it started; in chrome://webrtc-internals we see all the right local candidates and an 'icegatheringstatechange > complete' but no connection happening.
We have tried this with janus built from today's master branch, v0.4.1 and v0.3.1 and we are getting the same error in any case.
This happens both with google's STUN and our own coturn-backed STUN/TURN servers as iceServers.
Is there some known problems that could lead to the double-call of janus_ice_setup_local?