Janus in closed circuit setup - ICE failed?

144 views
Skip to first unread message

Andrew Grischenko

unread,
Oct 28, 2018, 4:57:16 AM10/28/18
to meetecho-janus
Hi,
I have a closed circuit setup - a few cameras streaming to Janus server (which is on my laptop) and streaming plugin, via a local area router. When I try to see video on the laptop I'm having issues - video doesn't start and ICE fails with no remote candidates sent. The issues gets fixed as soon as I connect the router to the internet. 

How do I make Janus/WebRTC work in a local isolated network without any STUN and TURN server? Is it even possible? 

jja...@gmail.com

unread,
Oct 28, 2018, 6:23:32 AM10/28/18
to meetecho-janus
Could you tell a bit more about your network? Ipv4/ipv6? Local dns + dhcp? Static addresses? Are you sure that the router does not impose some type of NAT between the cameras and the server? Same subnet if ipv4?

You should not need a stun server if the network has been properly set up. We run, however, an ipv6 net with local dns6 and dhcpv6 servers. 

In other words, the most likely solution is that you tweak your network.

Alessandro Amirante

unread,
Oct 28, 2018, 6:24:26 AM10/28/18
to Andrew Grischenko, meetecho-janus
This is due to the IP handling policy that is being standardized and browsers implement already:


You can work around it by either setting a fake default gw or performing a getUserMedia.

A.


--
You received this message because you are subscribed to the Google Groups "meetecho-janus" group.
To unsubscribe from this group and stop receiving emails from it, send an email to meetecho-janu...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Andrew Grischenko

unread,
Oct 29, 2018, 6:58:56 AM10/29/18
to meetecho-janus
OK, thank you both for pointing into the right direction. I did more test and found that if my laptop (Macbook) is I have the issue connected with MANUAL IP - ICE fails. When I switch to DHCP (assigned from router IP), everything works back again. This is despite the fact that in both cases the addresses are the same:
  • IP: 192.168.1.X
  • Mask: 255.255.255.0
  • Router & DNS: 192.168.1.1

As expected? What's the difference between manually and DHCP assigned configs?

Either way, it solved my problem - thanks again.

Regards,
Andrew
Reply all
Reply to author
Forward
0 new messages