Publishing multiple profiles via an encoder

Publishing multiple profiles via an encoder

Once the provision has been provided to the Stream Manager it is possible to start publishing. Make a broadcast request to the stream manager to get the IP address of the most available origin server. The provision specifies the different variants of the video stream that need to be provided. Each of these variants can be broadcasted with a media encoder like Wirecast, Flash Live Media Encoder or others. The different entities involved and their connections are shown in Figure 3. In this case the same origin is used for all the different variants. The origin then sends the streams to the relays which then deliver it to the edges that eventually serve the subscribers.

Figure 3: Overview of the system when a media encoder is used to publish three variants of a stream.

The following call needs to be made, using the stream GUID:


URL: https://yourstreammanager.com/streammanager/api/4.0/event/live/mystream?action=broadcast


  • yourstreammanager.com: is the host of your Stream Manager
  • mystream: is the guid of the stream variants that will be published

If the call is successful the Stream Manager will return an object that specifies the scope and address of the origin to use. These properties will then be used to define the endpoint in the media encoder stream configuration.

As an example, if the JSON object returned by the Stream Manager is:

     "scope": "live",
     "name": "mystream"

You would want to broadcast, using RTMP, the stream variants that you defined in your provision to the origin server IP that is returned in the broadcast call:

  • rtmp://
  • rtmp://
  • rtmp://