检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
Why Does the Encrypted HLS URL in the Original Streaming URL Remain Unchanged After the Encrypted HLS URL Is Changed? If the URL for obtaining the key is changed, you need to re-encrypt the video. Otherwise, the new encryption key does not take effect. Parent topic: Security
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.
Can Audio Files Be Encrypted During HLS Encryption? Yes. However, you need to transcode the audio files to the HLS format. Configure a transcoding template as highlighted in Figure 1.
Can Encrypted Videos Be Played After the URL for Obtaining Keys Is Changed? If the original URL for obtaining the key is still valid, the encrypted video can still be played.
Why Can't an Encrypted HLS Video Be Played After Being Transcoded for the Second Time? The possible cause is that the key cache is configured on the encrypted HLS server. The Key Management Service (KMS) can cache the queried key locally.
Encrypted videos cannot be distributed to others even if malicious users download them. Currently, only FLV and MP4 videos can be uploaded on PCs to CloudSite, and only MP4 videos can be uploaded on mobile devices.
Queries keys Function When a device plays an encrypted HLS video, the device requests a key from the tenant management system, which checks whether there are keys cached locally. If not, this API is called to query the key from VOD.
Authentication Requests for calling an API can be authenticated using either of the following methods: AK/SK authentication: Requests are encrypted using AK/SK pairs. AK/SK authentication is recommended because it is more secure than token authentication.
Can Audio Files Be Encrypted During HLS Encryption? What Are the Differences Between HLS Encryption and Hotlink Protection? Can Encrypted Videos Be Played After the URL for Obtaining Keys Is Changed? Will a Signed URL Become Invalid During Playback?
Table 2 Output structure Parameter Description play_type Protocol type The value can be hls, dash, or mp4. url Access URL encrypted Whether the stream is encrypted The values can be 0 or 1. 0: Unencrypted 1: Encrypted quality Video quality.
Why Can't an Encrypted HLS Video Be Played After Being Transcoded for the Second Time?
auth_info={Encrypted string}.
With HLS encryption enabled, encrypted videos cannot be distributed to others even if they are downloaded by malicious users. For details about HLS encryption, see Protecting Videos with HLS Encryption. Parent topic: Security
- HLS encryption Media streams can be encrypted using the standard HLS protocol to prevent malicious paid users from downloading and distributing the media streams.
For details, see Transcoding Settings in VOD User Guide. auto_encrypt No Integer Whether to automatically encrypt a file Possible values are: 0: not encrypted 1: encrypted Default value: 0 A file must be encrypted and transcoded at the same time.
Check Whether the OBS Bucket Is Encrypted If the source file is hosted from an OBS bucket to VOD and the output file is stored in a tenant bucket, the transcoded file storage may fail because default encryption has been enabled for the OBS bucket.
Figure 3 An RSA private key If the certificate chain of a private key file contains the following information: -----BEGIN PRIVATE KEY----- and -----END PRIVATE KEY-----, or -----BEGIN ENCRYPTED PRIVATE KEY----- and -----END ENCRYPTED PRIVATE KEY-----, you need to use the OpenSSL tool
encrypted Default value: 0 A file must be encrypted and transcoded at the same time.
Table 10 Output Parameter Type Description play_type String Protocol type Possible values are: hls dash mp4 url String Streaming URL group_id String Transcoding group ID. group_name String Transcoding group name. encrypted Integer Whether the stream is encrypted Possible values are
HTTPS has the following advantages over HTTP: HTTPS is a network protocol constructed based on SSL and HTTP for encrypted transmission and identity authentication.