ApsaraVideo VOD provides the offline download feature for mobile clients. You can enable offline download based on your business requirements so that users can cache videos for offline playback.
Generate the private key
If you select Encrypted for the Download Mode parameter, private keys are required to decrypt the downloaded videos.
A private key for offline video encryption is contained in a binary file. The system uses a private algorithm to generate a private key file based on the specified application unique identifier (UID) and a custom private key string for encryption. The private key string for encryption must be 16 to 32 characters in length, and can contain only and must contain uppercase letters, lowercase letters, and digits. You can download the private key file as needed. The downloaded private key file must be securely stored in client applications. This way, ApsaraVideo Player SDK can use the file for offline download and playback.
