edit-icon download-icon

Live streaming

Last Updated: May 04, 2018

A complete live video process includes collection, processing, encoding, packaging, streaming, transmission, transcoding, distribution, decoding, and playing steps. Streaming refers to the process of transmitting live content to the server using streaming tools and other content capturing softwares.

Procedure

  1. Add a domain name.

    1. Log on to the ApsaraVideo Live console.

    2. Select the region in Domains.

      Note: You can select Singapore, China East 2 (Shanghai) or China North 2 (Beijing) in the ApsaraVideo Live console. After selecting a region, the stream is pushed to the corresponding streaming center. If you select China East 2 (Shanghai) or China North 2 (Beijing), the stream undergoes domestic video acceleration. If you select Singapore, the stream undergoes foreign video acceleration.

      2

    3. Enter the Live domain name and click Next Step. Your domain name is submitted for auditing.

      3

      2

  2. Get the streaming URL.

    1. Select the region in Domains.

    2. Select the domain name and click Detail at the right side.

      2

    3. In Base Information > Center streaming information, get authrntication URL.

      Note: The authentication is enabled by default, you must use the authrntication URL for streaming. For details, see Live authentication.

      1. Click Go to generate authentication URL at the right side of Authentication settings.

        2

      2. On the Generate authentication URL page, click Start to generate.

      3. Click to copy the generated authentication URL.

      4. Click OK.

        The generated authentication URLrtmp://video-center.alivecdn.com/AppName/StreamName?vhost=videolive-en.aliyun.com&auth_key=************can be used for streaming.

        2

  3. Streaming operations.

    Copy the streaming address to the streaming tool for the streaming operation.

    Common streaming test tools are OBS official download, XSplit official download and FMLE official download.

AppName and StreamName

Live broadcasting address structure

A live video service address consists of three levels of live video management units, that is, the domain name (Domain), an application (AppName) and a live stream (StreamName). You can create multiple apps (AppName) under each domain name (Domain), and multiple live streams (StreamName) under each app.

AppName and StreamName can be edited and customized. Different values generate different streaming and playback addresses.

If an app is named aslive, for example, you can create multiple live streams underlive. The streaming addresses are then as follows:

rtmp://video-center.alivecdn.com/{live}/{3}?vhost={live video domain name}

rtmp://video-center.alivecdn.com/{live}/{1}?vhost={live video domain name}

rtmp://video-center.alivecdn.com/{live}/{2}?vhost={live video domain name}

You can also create multiple live streams for the app.

rtmp://video-center.alivecdn.com/{live1}/{Stream}?vhost={live video domain name}

rtmp://video-center.alivecdn.com/{live2}/{Stream}?vhost={live video domain name}

rtmp://video-center.alivecdn.com/{live3}/{Stream}?vhost={live video domain name}

Thank you! We've received your feedback.