Answer the question
In order to leave comments, you need to log in
How to load balance between servers with nginx-rtmp-module?
Tell me how to properly distribute viewers between servers with nginx-rtmp-module ?
For example, there are 3 servers on each nginx-rtmp-module installed, an rtmp stream is created on the first server, how to send viewers to the 2nd server if there are more of them than the first can hold and the same from the second to the third.
Answer the question
In order to leave comments, you need to log in
Make a script that will evaluate if the server can accept more connections and go to it via auth_request before giving the stream.
Just as if a cyclic redirect did not work out.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question