AVPictureInPictureController doesn't work with AVSampleBufferDisplayLayer on tvOS

When we try to use AVPictureInPictureController with a AVSampleBufferDisplayLayer on tvOS 15 through tvOS 26 isPictureInPicturePossible never becomes true.

The code works great on iOS, but it has never worked on tvOS.

You can check this out for a repro: https://github.com/jazzychad/PiPBugDemo

Feedbacks: FB9751461, FB14158567, FB14037110

DTS Case: 7999337

Answered by DTS Engineer in 890859022

Dear lindvall,

AVSampleBufferDisplayLayer to AVPictureInPictureController is currently only supported on iOS. Thank you for your feature requests to support it on other platforms- we are looking into it. Please check your bug reports in Feedback Assistant for status updates.

Cordially,

Richard Yeh

 Developer Technical Support

Dear lindvall,

AVSampleBufferDisplayLayer to AVPictureInPictureController is currently only supported on iOS. Thank you for your feature requests to support it on other platforms- we are looking into it. Please check your bug reports in Feedback Assistant for status updates.

Cordially,

Richard Yeh

 Developer Technical Support

Hello lindvall,

The availability information may be inaccurate in those cases, unfortunately. We will investigate this accordingly as part of your bug reports.

Thank you,

Richard Yeh  Developer Technical Support

By "availability information" do you mean the documentation? The APIs themselves seem to have incorrect availability information, as it lets us compile with APIs that you are saying are not available on those platforms.

Hello lindvall,

That is correct. The feature is currently unavailable on those platforms despite the API annotations.

Thank you,

Richard Yeh  Developer Technical Support

We've been trying to get support for this (and clarification in the docs) since it was released 5 years ago in 2021 (tvOS 15). What is the correct avenue for that? So far we've tried Feedbacks, DTS Tickets and WWDC chats to get clarity on this and get some progress. Is there something else we should do?

AVPictureInPictureController doesn't work with AVSampleBufferDisplayLayer on tvOS
 
 
Q