Toadums
Toadums

Reputation: 2812

WebRTC Remote video not showing up on non-localhost

I have a very simple webRTC 1 on 1 video chat application. It works great on localhost, but I cannot get it working across different networks. I have read as much online as I can, but nothing seems to be working. I suspect I am doing someone out of order, perhaps someone else can spot it out.

All of my signalling seems to be working (I have a lot of debug output), so I do not think that is the issue.

I have all the code up on github here, primary file of interest is videochat_manager

I thought I would sum up my process:

That is what I am doing on a very high level. Any glaring errors?

edit

You can find the demo app here. You can change rooms up in the address bar

here are four candidates on the caller side of things. There are two more that I didn't post

...

Upvotes: 5

Views: 3167

Answers (1)

Benjamin Trent
Benjamin Trent

Reputation: 7566

It would seem that your Turn and stun servers are not working the way they need to be to grab appropriate ICE candidates public IP addresses.

I tested your demo site with your current ICE servers and did not get a public IP address for any of my candidates. Try some different servers and see if that improves your situation some.

Upvotes: 3

Related Questions