Can AVSampleBufferAttachContentKey be used without AVPlayer?

I have a current implementation that uses AVPlayer and AVContentKeySession that works perfectly fine. I am integrating a custom player into the current project and was wondering if FPS content would work.

So my question is if AVSampleBufferAttachContentKey can be used to decrypt FPS-protected (HLS) content without AVPlayer? If yes, is there any documentation on how this should be used?

Hello @man22. were you able to find some info about this? Or wether or not it is possible?

Hello @YeltsaKcir, I haven't found any info about it. I did some experiments and seems it does not work, probably because I'm missing something. Hope it will be documented any day soon by Apple.

Hello @man22. were you able to find some info about this? Or wether or not it is possible?

Were you able to do this? I was thinking to attach the key to the CMSampleBuffer and then enqueue them on an AVSampleBufferDisplayLayer.

Can AVSampleBufferAttachContentKey be used without AVPlayer?
 
 
Q