Contents

addContentKeyRecipient(_:)

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

Declaration

func addContentKeyRecipient(_ recipient: any AVContentKeyRecipient)

Parameters

  • recipient:

    The content key recipient to use for the session.

Discussion

Don’t add a recipient to a session that has expired or had already begun to process media data.

See Also

Managing content key recipients