Closed sid-spector closed 1 month ago
The udp packets need to be forwarded without changing the source address. Seems the way you proxy them, sets the address of the nginx instance and jvb cannot send packets back to the client.
we faced same issue. The org requires everything to be behind nginx, including UDP stream on port 10000.
That is not possible. Nginx only handles the HTTP traffic, it doesn't proxy the UDP data.
That is not possible. Nginx only handles the HTTP traffic, it doesn't proxy the UDP data.
Actually it can. https://docs.nginx.com/nginx/admin-guide/load-balancer/tcp-udp-load-balancer/
TIL, good to know!
That is not possible. Nginx only handles the HTTP traffic, it doesn't proxy the UDP data.
Actually it can. https://docs.nginx.com/nginx/admin-guide/load-balancer/tcp-udp-load-balancer/
I do not think it works for jitsi case. That udp load balancer is one way. For jitsi, 2 ways connection is needed. I have tried nginx udp proxy and it does not work. Ended up using coturn and it works quite ok.
If the LB is able to maintain some state (keep the socket 4 tuple consistent) it should work.
If it's a "dump" LB then no dice...
just setup jitsi behind nginx both http/ws and udp stream for the media. It works like a charm. The only catch is to set JVB_ADVERTISE_IPS with the public ip of nginx (not the docker host)
What happened?
Hello,
we have configured and deployed jitsi on a kubernetes cluster hosted on digitalocean. The whole setup is exposed behind a nginx proxy server that is configured to proxy UDP connections to the JVB pod.
We have tested the UDP network setup and all the UDP connections are being proxied correctly.
The running configuration include:
ENABLE_XMPP_WEBSOCKET: 'false'
PUBLIC_URL: <publi url>
JVB_ADVERTISE_IPS: <public ip>
DOCKER_HOST_ADDRESS: <public ip>
Untill we have two partecipants there is no problem, if the third partecipant logs in we start seeing on the logs:
With:
Any suggestion ?
Thank you very much!
Platform
Browser / app / sdk version
1.3.8
Relevant log output
No response
Reproducibility
More details?
No response