Search code examples
objective-cxcodeswiftavfoundationtvos

AVSampleBufferDisplayLayer prohibited in tvOS


I wonder if anyone has any information why AVSampleBufferDisplayLayer is marked as "__TVOS_PROHIBITED"?

I don't want to write something ironic here, but the fact that video rendering on a TV-device is prohibited is kind of fun.


Solution

  • tvOS version 10.2 is finally allowing the use of AVSampleBufferDisplayLayer in Apple TV devices.

    (tvOS 10.2 is currently in beta when writing this post).