Welcome! Log In Create A New Profile

Advanced

HLS proxying multiple sources

Subscriptions
March 13, 2016 10:42AM
Hello,

I need a way to provide the 'proxy_pass' argument from external script
for hls streaming. One way will be to use exec_pull with rtmp module,
but this means to convert hls to rtmp, and run ffmpeg - pretty
cumbersome. If there is a way to do something like ** proxy_pass
`my_script original_request` ** (my_script is in backticks), it will be
ideal.

Situation: I need to choose dynamically the server where I pull the hls
video stream from. Some of the upstream servers (usually 2-4 in total)
may be down or slow at the moment where the request comes to the local
nginx, so I need to dynamically choose the 'preferred' one. On top, I
have different login credentials for those, and a limit of logins per
server.

Almost sure nginx will have some way of doing it - it does anything
imaginable - and few things beyond.

Any suggestion appreciated,
Thanks, George.

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

HLS proxying multiple sources

Subscriptions March 13, 2016 10:42AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 103
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