Vorlent / cozycast

movie night over the internet
Other
5 stars 3 forks source link

Remote workers #48

Closed Vorlent closed 4 years ago

Vorlent commented 4 years ago

It should be possible to connect self hosted workers to a central cozycast server in a datacenter that takes care of broadcasting. The lua worker needs to connect to the correct websocket server and ffmpeg has to connect to kurento.

Vorlent commented 4 years ago

I need to figure out a way to make the remote worker connect via localhost or the private network if such a route exists.

Vorlent commented 4 years ago

I have added a few environment variables that let you specify kurento, turn, cozycast-server separately. I haven't tested it yet because it will require me to forward an entire port range for the kurento server but it should work in principle. The only solution might be to connect ffmpeg via TURN.

Vorlent commented 4 years ago

Since it already works and the NAT problem is a separate issue I will close this.