简体   繁体   中英

Creating an nginx-rtmp cluster

I've created an nginx-rtmp server where several IP cameras can direct their video-stream. I want to expand this to a cluster that can auto-scale. Normally clusters have some load-balancer with a fixed ip-address that redirects traffic to different hosts in the cluster.

I am not sure how to setup something similar for nginx-rtmp. Any new stream that points to the fixed address will need to be directed to the same host.

Can anyone explain how to setup something like this? Even some links where I can read more about this would be helpful.

Normally I setup clusters for large concurrent streaming. For example 1 origin and 10 edges.

So why you need so many server accepting incoming RTMP ?

A streaming server can easily accept 5000 incoming rtmp if network bandwidth not an issue.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM