Using nginx as a HLS reverse proxy with Envoy?

Reinis Rozitis r at roze.lv
Tue Jul 13 19:16:25 UTC 2021


 

 

From: nginx [mailto:nginx-bounces at nginx.org] On Behalf Of Šimon Tóth
Sent: otrdiena, 2021. gada 13. jūlijs 20:54
To: nginx at nginx.org
Subject: Re: Using nginx as a HLS reverse proxy with Envoy?

 

OK, after doing more research myself I'm pretty sure that nginx can't proxy HLS streams.

 

It can proxy (pull) RTMP streams, however if I understand it correctly, these streams have to be statically configured in configs (which is not my use case).

 

-- 

Simon Toth

 

On Mon, Jul 12, 2021 at 10:34 AM Šimon Tóth <happy.cerberus at gmail.com <mailto:happy.cerberus at gmail.com> > wrote:

Hi,

 

I'm building a demonstration streaming system (for educational purposes - teaching system design) and I'm trying to figure out whether Nginx can be used as an HLS reverse proxy in conjunction with Envoy (for sticky load balancing).

 

I have the backend servers that convert RTMP into HLS. Now in front of that, I want to have an autoscaling pool of reverse proxies that I have load-balance to using Envoy based on the stream (so that the same stream ends on the same process if possible).

 

What I need from Nginx then is 2 things:

*	Correctly proxy HLS streams.
*	Report overload situations to Envoy, so that envoy can bounce to a different replica if one gets overloaded.

Is this possible? Any links to documentation or examples would be greatly appreciated as well.

 

Thanks in advance,

Simon Toth

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20210713/ad85ea1d/attachment.htm>


More information about the nginx mailing list