@gchiste
Thanks for your awesome answer! I managed to open my app to PiP mode with your code. However, the camera view freezes and the AVCaptureVideoDataOutput stops outputting after a moment when PiP started. How can I make the camera continue to work?
By the way, I'm working on iOS16, which should be valid for multitasking camera without a entitlement according to this document, but captureSession.isMultitaskingCameraAccessSupported always returns false nonetheless. What should I do?
Topic:
Media Technologies
SubTopic:
Audio
Tags: