Consuming Services As a Broadcaster
Once you have an active cluster for streaming the next step is for a publisher client to start broadcasting to it.
The problem here is that the broadcaster may not know the
address of the origin server that they need to broadcast stream to. This is where Stream Manager comes into play again.
Stream Manager provides a public REST endpoint for providing stream information to broadcasters and subscribers based on requester's
role in the system. The broadcaster client will need to make a REST call to Stream Manager using a scope name, stream name and the action parameter (broadcast).
Scope nameis the Red5 application/context name that a client connects to. The default scope name to be used is live
Stream nameis the name of the publishing stream
Actionis a query string parameter which defines the client's request type: