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

UDP Ports / example Janus config #12

Open
yspreen opened this issue Nov 18, 2020 · 1 comment
Open

UDP Ports / example Janus config #12

yspreen opened this issue Nov 18, 2020 · 1 comment

Comments

@yspreen
Copy link

yspreen commented Nov 18, 2020

Hey, I love the project! It seems to be the most active Janus docker container project out there.

I am struggling with some of the core concepts, though. How do you expect clients to connect to a webrtc server that's not only behind a NAT but doesn't expose any UDP ports whatsoever? Is a TURN server a mandatory requirement for using this docker image? If not, how else would a UDP connection for actual media routing be made?

We're currently running Janus on a fully exposed machine with a 1:1 NAT mapping to its public IP. This deployment works fine, but the UDP ports offered by Janus' SDP is part of a huge range, and that's apparently one of the key requirements for running a webrtc server for media routing: https://serverfault.com/questions/954715/webrtc-mcu-sfu-inside-kubernetes-port-ranges

I appreciate any feedback on this!

@daniel-abramov
Copy link

If you run it inside the docker container, you would have to expose ports and provide STUN and TURN configuration. If you don't do so, the warning in the logs will also point out to the problem, telling that it won't work outside of the docker network. I personally used --network host to run it on the host network and since the host had its own public IP address, it worked just fine.

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