2

I have a custom player on iOS which can decode a HEVC stream using the HEVC decoder provided by the video toolbox, get the handle to the decoded frame, pass it to Metal and render the frame using Metal. I would like to do the same with DRM encrypted content. I understand that AVPlayer directly supports FairPlay and you can play DRM encrypted content using it (sample). How do I do it with Video ToolBox ? I don't see any APIs to setup DRM session/keys in VTDecompressionSession. Thanks.

Anon90
  • 21
  • 1

0 Answers0