S
S
sv22042015-10-16 17:36:13
Nginx
sv2204, 2015-10-16 17:36:13

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

1 answer(s)
V
Vlad Zhivotnev, 2015-10-16
@inkvizitor68sl

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 question

Ask a Question

731 491 924 answers to any question