Instance Method

addContentKeyRecipient:

Tells the receiver that the specified recipient should have access to the decryption keys loaded with the session.

Declaration

- (void)addContentKeyRecipient:(id<AVContentKeyRecipient>)recipient;

Parameters

recipient

The content key recipient to be used for the session.

Discussion

Do not add a recipient to a session that has expired or had already begun to process media data.

See Also

Initializing the Content Key Request Process

- setDelegate:queue:

Sets the receiver's delegate and indicates the dispatch queues used.

delegate

The delegate for the receiver.

AVContentKeySessionDelegate

The protocol you implement to handle content key requests.

delegateQueue

The dispatch queue that invokes delegate callbacks.

contentKeyRecipients

An array of content key recipients.

AVContentKeyRecipient

A protocol for requiring decryption keys for media data.

- processContentKeyRequestWithIdentifier:initializationData:options:

Tells the receiver to start loading the content decryption key with the specified identifier and initialization data.