Help Center> Live> Troubleshooting> Failed to Play a Live Video

Failed to Play a Live Video

Symptom

The playback fails when you play a live video.

Perform the following operations to locate the cause and rectify the fault:

Check Whether the Streaming URL Is Correct

If URL validation is configured, you need to create an authentication streaming URL. Otherwise, use the original streaming URL.

Check whether the current streaming URL is correct based on the URL assembling rule. If the URL is incorrect, create a correct one.
  • You can stream your content in FLV, M3U8, or RTMP format.

    RTMP format: rtmp://Streaming domain name/AppName/StreamName
    FLV format: http://Streaming domain name/AppName/StreamName.flv
    M3U8 format: http://Streaming domain name/AppName/StreamName.m3u8

    Assemble the ingest URL based on the values of AppName and StreamName.

  • If your streaming domain name is added to the new version of Live, see URL Validation (New Version) for how to create an authentication streaming URL. Otherwise, see URL Validation (Old Version).

The values of AppName and StreamName in the streaming URL must be the same as those in the ingest URL.

Check Whether the Streaming Domain Name Has Been Associated with the Ingest Domain Name

The ingest domain name must be associated with the streaming domain name so that you can push streams and play live video. Perform the following operations to check whether domain names have been associated:

  1. Log in to the Live console. In the navigation pane, choose Domains.
  2. Click Settings in the row containing the target streaming domain name.
  3. Click Associate Ingest Domain Name and select the target ingest domain name if no ingest information exists in the Ingest Info area.

Check Whether the CNAME Has Taken Effect

By default, downstream acceleration is enabled. If you do not configure CNAME resolution, the streaming domain name cannot be resolved. As a result, the playback fails. Perform the following steps to check whether the CNAME record has been onfigured:

  1. Log in to the Live console. In the navigation pane, choose Domains.
  2. In the domain list, obtain the CNAME record for the streaming domain name.

  3. Start the cmd program in Windows, and use nslookup to query the domain name.

  4. Follow the instructions in Configuring CNAME Records to configure the CNAME record for the streaming domain name if the CNAME record allocated by the system is not displayed in the command output.

Check the Player

  1. Enter the streaming URL in a third-party player (VLC is recommended).
  2. Check whether the player is faulty. You are advised to use another mobile phone and PC to test.
  3. Check whether the player supports the corresponding format.

    Live supports the following streaming formats:

    • Web player: M3U8 and FLV
    • Mobile player: RTMP, FLV, and M3U8
  4. Switch to another player if the player does not support the format.

If the problem persists, you are advised to submit a service ticket to reach technical support.