Welcome! Log In Create A New Profile

Advanced

RE: Using nginx as a HLS reverse proxy with Envoy?

Reinis Rozitis
July 13, 2021 04:42PM
> How would that work?
> From the presentation on RTMP it looks like that nginx is just serving cached VODs instead of the actual stream.

RTMP and HLS are two different streaming technologies.
HLS just consists of a playlist (.m3u8) file (usually the player reads it by continuously making http requests) which points to video chunk files which again are served via simple http. This is why (contrary to rtmp) hls is easy to scale/cache and/or use via all kinds of CDNs.


> And even if it can actually proxy the requests (which I doubt)

It can.

> , it can't be configured dynamically.

As to "dynamically" depends on what are your needs.

The commercial nginx plus version provides an API [1] for dynamic upstream configuration but you are not limited by it.
For example you can use Lua code [2] to determine/set upstream in a very dynamic way. There are also some third party modules with such functionality.

But again you didn't actually specify what is the issue?


[1] https://docs.nginx.com/nginx/admin-guide/load-balancer/dynamic-configuration-api/
[2] https://github.com/openresty/lua-resty-core/blob/master/lib/ngx/balancer.md

rr


_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

Using nginx as a HLS reverse proxy with Envoy?

Šimon Tóth July 12, 2021 04:36AM

Re: Using nginx as a HLS reverse proxy with Envoy?

Šimon Tóth July 13, 2021 01:56PM

RE: Using nginx as a HLS reverse proxy with Envoy?

Reinis Rozitis July 13, 2021 03:20PM

RE: Using nginx as a HLS reverse proxy with Envoy?

Reinis Rozitis July 13, 2021 03:22PM

Re: Using nginx as a HLS reverse proxy with Envoy?

Šimon Tóth July 13, 2021 03:46PM

RE: Using nginx as a HLS reverse proxy with Envoy?

Reinis Rozitis July 13, 2021 04:42PM

Re: Using nginx as a HLS reverse proxy with Envoy?

Šimon Tóth July 13, 2021 05:22PM

RE: Using nginx as a HLS reverse proxy with Envoy?

Reinis Rozitis July 14, 2021 02:16AM

Re: Using nginx as a HLS reverse proxy with Envoy?

Šimon Tóth July 14, 2021 02:46AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 271
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready