Help Center> Video On Demand> FAQs> APIs and SDKs> What Should I Do If the Frequency of Calling the Key Query API Exceeds 100 Times per Minute?
Updated on 2022-10-24 GMT+08:00

What Should I Do If the Frequency of Calling the Key Query API Exceeds 100 Times per Minute?

The key can be cached locally. When setting up the KMS on your service server, you can configure the cache function. After obtaining the key for the first time, you can cache the key. When there are subsequent decryption requests of the same media file, you can directly obtain the key from the KMS without calling the key query API each time. For details, see Protecting Videos with HLS Encryption.

APIs and SDKs FAQs

more