Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Audio & Video works well on same network but not in different network #14

Closed
shariful2011 opened this issue Nov 27, 2016 · 2 comments
Closed

Comments

@shariful2011
Copy link

I tried your source which is really a good one. But I am facing one problem. On Same netwrok it works perfectly but on different network remote side video & audio is not working. My server is a dedicated Windows 2012 server with static IP. On Same network means if I use it on a PC and laptop with wifi on the same network it works perfectly but when ever I go to different network it doesn't work. What should I do?

@shanet
Copy link
Owner

shanet commented Nov 28, 2016

This usually means there is a firewall or something else in the middle that is preventing a connection from being made successfully. WebRTC uses ports other than the usual 80 and 443 so nmap is your friend here to check if the necessary ports are open. Otherwise, you can use a TURN server.

@shariful2011
Copy link
Author

I tried with http://xirsys.com STUN & TURN server. This is what I received:

  1. If I clicked start video from first opened link I got error on second one as following:
    Failed to parse SessionDescription. Failed to parse audio codecs correctly.
    Error processing ICE candidate

  2. If I clicked start video from second opened link I got both description and addstream on both side but no remote video on both side.

  3. After that I clicked start video from second open link I received Error processing ICE candidate on first opened link.

Also I used port 443. On same network both side video/audio is showing but not in different network.

@shanet shanet closed this as completed Jan 8, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants