ContentProtectionKeyRequest
A request for an item’s content protection key.
Declaration
object ContentProtectionKeyRequestProperties
| Name | Type | Description |
|---|---|---|
assetIdentifier | string | The item’s content key asset identifier. |
context Required | PlayerContext | The content the client is playing. |
keyRequest Required | byte | An encrypted key request that contains session, authentication, and integrity information. For FairPlay Streaming, this is the server playback context (SPC); for more information, see FairPlay Streaming Overview. |
keySystem Required | ContentProtectionKeySystem | The content’s encryption type, which must match the configuration in ExtensionConfig.Media.Queues.ContentProtectionKey.Cks. |
userActivity Required | UserActivity | A description of the client’s current playback queue. |
version Required | string | The version of the client’s |
Discussion
If your service implements content protection, the client requests an item’s content protection key after each of the following events:
The client receives the queue’s initial item.
The client preloads each subsequent item in the queue.
The user manually transitions to an item in the queue.
For more information on providing your service’s content protection configuration, see ExtensionConfig.Media.Queues.ContentProtectionKey and Retrieve an Asset’s Content Protection Key.