Code Monkey home page Code Monkey logo

Comments (8)

jmattheis avatar jmattheis commented on May 23, 2024

Screego already exposes the TURN server via TCP. Tho the main use case is for serving it on port 443 to hide it as normal https traffic. This is not that easy possible because (probably) an external server is needed (1x Website on 443 & 1x TURN on 443 via tcp)

from server.

Brice187 avatar Brice187 commented on May 23, 2024

nice! so SCREEGO_TURN_ADDRESS=0.0.0.0:3478 is already UDP/TCP ready or is this a planned feature (since you referenced a commit which is behind current release)?

from server.

jmattheis avatar jmattheis commented on May 23, 2024

Yeah, it does already listen on tcp, but (I guess) WebRTC doesn't use TCP by default. The commit explicitly defines TCP as transport protocol (And fixes a bug in authentication).

from server.

Brice187 avatar Brice187 commented on May 23, 2024

Nice... would love to see an example for this. Is there an environment var which has to be set? How does the apache rev proxy config should look like?

from server.

jmattheis avatar jmattheis commented on May 23, 2024

This is kinda difficult to check, because WebRTC is responsible connection establishment. It will fallback to TCP if it can't establish a connection via udp. You could try to block (via firewall) the udp port (default 3478) and check if it still works.
The reverse proxy does only proxy http requests, the ICE is done via the embedded TURN server.

from server.

Brice187 avatar Brice187 commented on May 23, 2024

i run screego in an dockerized environment. Sadly, docker-compose does not respect the udp-only setting (docker/compose#7627), so I have to configure the host fw. Some reverse proxies are able to proxy tcp requests...

from server.

raton465 avatar raton465 commented on May 23, 2024

muy bueno

from server.

Brice187 avatar Brice187 commented on May 23, 2024

I do not think the fallback to tcp is working correctly, because i can not see that tcp requests on my Workstation. UDP is blocked via iptables on my WS and the screego server :-(

I know this is kind of hard to debug.

from server.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.