Understanding edge/origin setup and load balancing question.
Trying to get a better conceptual view of how this works. My understanding is that using multiple edge servers and load balancing allow the client demand to be distributed based on edge server load.
How does this work? We are using rtsp to perform live camera streaming, which I guess is handled by the origin server. When a client wants a video the link is to a specific IP or Host. I'm assuming that the Host address is one of the edge servers. How does load balancing redirect the client from one edge server to another edge server for the purpose of balancing?
The thing to understand first is that the Livestream Repeater (origin/edge) system is one thing, and load balancing is another. Completely separate. They are used together obviously, but are separate systems.
A LB Listener and one or more LB Senders is the load balancing system. An Origin and one or more Edge servers is the liverepeater system.
Typically, an Origin server is also used as the LB Listener. But that is not necessary for this to work, it's just typical and convenient.
On the other hand, a LB Sender is always also an Edge server, it doesn't work if these roles are not paired.
An Origin server is what you publish a stream to. Edge servers restream from the Origin. So this is how streams are distributed.
A LB Listener redirects connections to the LB Senders (which are always also Edge servers).