Creates a content key session to manage a collection of content decryption keys; points to a directory that stores abnormal session termination reports.
- iOS 10.3+
- macOS 10.12.4+
- Mac Catalyst 13.0+
- tvOS 10.2+
A valid key system used to retrieve keys.
A URL that points to a writable directory. The session uses the directory to facilitate expired session reports after an abnormal session termination.
Returns a new AVContentKeySession instance.
AVContent instance returned is capable of managing a collection of content decryption keys that correspond to the input key system. An
invalid is raised when the value of
key is unsupported.