Comments (6)
Yeah, I've thought of this too. I'll probably give the issue a shot, and implement the address generator for port ranges.
from server.
I just tested the changes in the new release. Gave the turn server 1000 ports and it works great! Thank you 👍
(Not using docker, but needed this setting to open the correct ports in my firewall)
from server.
Ahh, I think the turn server allocates random ports relay connections. For now network_mode: host should be enough. I've adjusted the docker examples in https://screego.net/#/install?id=docker
from server.
Ah thanks, makes sense.
The amount of ports needed also seems to be a problem for other TURN servers in docker: https://hub.docker.com/r/instrumentisto/coturn
In this case, they added options min-port
and max-port
to mitigate the problem. Would this also be possible here?
I'm not sure if pion/turn supports this, though. There is a GitHub issue saying it's possible, but I'm not sure the solution is actually feasible: pion/turn#129
from server.
I've spent quite some time testing v1.1.1 in a Docker environment according to the "Port Range" section of the installation guide. I think with the current version it's (nearly?) impossible to get Screego to work outside of a local network with port mappings such as:
ports:
- 5050:5050
- 3478:3478
- 50000-50100:50000-50100/udp
Locally it work's fine, but behind a NAT both STUN as well as TURN fail and the stream remains black.
The only solution I found to get it working with Docker was to use the network_mode: host
syntax.
(Other potential solutions approaches might involve additional firewall rules or explicitly specifying every in ports:
with the - mode: host
syntax since docker-compose does not support ranges here, but I didn't check these.)
I'm not really sure why the issue was closed but at least for me it's not working.
Further, I've tested Screego with STUN in various scenarios, all except one worked well. However, app.screego.net didn't work at all as soon as at least one NAT was in-between the connection path. If the demo instance is hosted using via Docker this might be caused by the same issue.
from server.
@ThelloD, please create a new issue for your problem.
from server.
Related Issues (20)
- HTTP instead of HTTPS? HOT 1
- Firefox: RTCRtpSender is not defined HOT 2
- Config for Default Room Name HOT 2
- Preferred Codec not available in Firefox HOT 1
- Functions Request HOT 1
- Black Screen Issue HOT 1
- Support OIDC HOT 8
- is there any plan to support audio sharing in this project HOT 1
- User name set by url parameter HOT 1
- Streaming to multiple users results in high CPU usage HOT 5
- Documentation Error HOT 1
- mediaDevices undefined HOT 1
- screego on cloudflare tunnels? HOT 7
- Static or live screen sharing? HOT 3
- Is there any plan to add wayland support for screego? HOT 2
- Cannot share Dev-C++ IDE window HOT 1
- Inappropriate silly names HOT 2
- "No stream available" HOT 7
- Stream only loads under specific circumstances HOT 1
- https://app.screego.net/ Secure? HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from server.