Updated on 2022-10-24 GMT+08:00
Why Does the Encrypted HLS Video Playback Failed?
Possible causes are as follows:
- The decryption key cannot be obtained. The possible cause is that the URL for obtaining the key is incorrect. You can press F12 when previewing an encrypted HLS video on the console to check whether the response of the API for obtaining the key is normal.
For details about HLS encryption, see Using HLS Encryption to Prevent Video Leakage.
- URL validation has been configured, but the signed URL is not used for playback. Choose Domain Name Management > Settings > Hotlink Protection Settings on the VOD console to check whether URL validation has been configured. If yes, you need to obtain the signed streaming URL on the Audio and Video Management page to play the video.
- You can also clear the cache of the key management server and play the encrypted HLS video again.
- After the HLS encryption service is enabled, a key can be obtained but cannot be used for playback. The possible cause is that the obtained key is not encoded and decoded using Base64. Check whether the obtained key uses standard Base64 for codec. For details, see Protecting Videos with HLS Encryption.
Parent topic: Playback
Playback FAQs
- What Are the Differences Between DASH, HLS, and MP4 Files?
- How Do I Obtain the Streaming URL of a Media File?
- How Do I Play Media Files on a Mobile Device?
- Which Types of Files Can Be Previewed on the VOD Console?
- What If I Failed to Play HLS Videos?
- How Do I Stop HLS Videos from Freezing?
- What If the Uploaded Video File Can't Be Played?
- Can I Create a QR Code for My Video Playback URL?
- Do I Need to Transcode an Uploaded Video Before Playing It?
- Why Does a Video Fail to Be Played Using My Own Domain Name?
- Can I Play a Video If I Don't Buy a Transcoding Package?
- Why Does the Encrypted HLS Video Playback Failed?
- Is There Any Limit on the Number of Online Viewers?
- Why An Error Code 403 Is Returned When I Access the Playback URL?
- Can I Use My Own Player to Play Media Files Uploaded to VOD?
- Can I Replace the Domain Name in the Generated Playback URL with My Own Domain Name?
- How Do I Fix a Blurry Video?
- Why Can't I Obtain the Streaming URL of a Transcoded Video?
- Why Does Frame Freezing Occur During the Playback of a Transcoded Video?
- Why Cannot a Transcoded M3U8 Video Be Played After URL Validation Is Configured?
- Why Can't an Encrypted HLS Video Be Played After Being Transcoded for the Second Time?
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
The system is busy. Please try again later.
For any further questions, feel free to contact us through the chatbot.
Chatbotmore