If a message indicating an M3U8 file or cross-origin access error appears when you play an ingested live stream or recorded video in the ApsaraVideo Live console, perform the following operations to troubleshoot the issue.

Unable to play a live stream

  1. Check whether HTTPS-based access is enabled for the streaming domain.

    The ApsaraVideo Live console works based on HTTPS. Therefore, you can play live streams only from HTTPS streaming URLs. You can configure HTTPS secure acceleration for the streaming domain, or use ApsaraVideo Player to play the live stream over HTTP.

  2. Check whether the streaming domain supports cross-origin access.

    Browsers that support JavaScript use the same-origin policy to ensure security. Assume that Website A and Website B belong to different origins. When Website A uses JavaScript to access Website B, the browser rejects the request. For more information about how to implement cross-origin access, see What can I do if a message indicating a cross-origin error appears when the player plays streams based on M3U8 playlists?.

Unable to play a recorded video

  1. Check whether the access control list (ACL) of the bucket where the recorded file resides is private.

    If the ACL of the bucket is private, ApsaraVideo Live cannot obtain the signed URL of the recorded video. To resolve this issue, modify the ACL of the bucket to public read, or log on to the Object Storage Service (OSS) console, find the signed URL of the recorded video, and play the recorded video by using other players.

  2. Check whether HTTPS-based access is enabled for the streaming domain.

    The ApsaraVideo Live console works based on HTTPS. Therefore, you can play recorded videos only from HTTPS URLs. If the bucket uses the default domain name assigned by OSS, HTTPS-based access is supported. By default, OSS configures HTTPS certificates for the default domain names assigned to buckets. If you set a custom domain name for the bucket, you can enable HTTPS-based access for the domain name, or log on to the OSS console, find the URL of the recorded video, and use ApsaraVideo Player to play the recorded video over HTTP.

  3. Check whether the bucket supports cross-origin access.

    For more information, see OSS CORS.

If the live stream or recorded video still cannot be played in the ApsaraVideo Live console after all the preceding operations are performed, submit a ticket to contact Alibaba Cloud technical support. For more information, see Contact us.