I have an AVSampleBufferDisplayLayer playing a local video. When adding the AvSampleBufferDisplayLayer as a contentSource to AVPictureInPictureController, it fails with
The operation couldn’t be completed. (PGPegasusErrorDomain error -1003.)
I can't find any documented error with that domain an error code.
Help?