If you want to distribute a live stream to multiple platforms from a fixed region or if you want to distribute a live stream that requires media processing, such as transcoding, recording, and snapshotting, to multiple platforms, you can configure the live center stream relay feature for the streaming domain. This helps you meet different distribution requirements of different platforms.
Usage notes
By default, you can specify up to 200 destination URLs for live center stream relay. If the limit is reached, you can add no more destination URLs. To increase the quota, submit a ticket.
Only live streams over Real-Time Messaging Protocol (RTMP) and Secure Reliable Transport (SRT) can be relayed from a live center.
Billing
After you enable the live center stream relay feature, you are charged for stream relay. For more information, see Billing of live center stream relay.
Configuration procedure
Log on to the ApsaraVideo Live console.
In the left-side navigation pane, choose
.Find the streaming domain that you want to configure and click Domain Settings in the Actions column. In the left-side navigation tree, choose
.Click Add to add a live center stream relay template. The following table describes the parameters for a live center stream relay template.
Parameter
Description
AppName
The name of the application to which the live stream belongs. The name is case-sensitive.
StreamName
The name of the live stream.
Destination URL
The destination URL to which the live stream is relayed. You can specify only one destination URL in the template. If you want to specify more than one destination URLs, create more templates.
The protocol that the destination URL uses must be the same as the protocol of the live stream. Only destination URLs over RTMP and SRT are supported.
Start and End Time
The interval between the start time and the end time is within seven days. The end time must be later than the current time.
Click OK.