client-sdk-swift
client-sdk-swift copied to clipboard
Closing Picture in Picture on Background dismisses video view on the app
Describe the bug When PiP is activated by moving the app to the background, the video view of the participant in PiP is dismissed when the PiP is closed in the background.
SDK Version LiveKit 2.0.16
iOS/macOS Version iOS 18
Xcode Version
The Xcode version which the issue occurs.
Xcode 16.0
Swift version (result of xcrun swift -version) swift-driver version: 1.115 Apple Swift version 6.0 (swiftlang-6.0.0.9.10 clang-1600.0.26.2) Target: arm64-apple-macosx14.0
Steps to Reproduce
- Run minimal-pip example app
- Join the call and activate camera for remote participant
- Leave the app to activate PiP
- Close the PiP by pressing
xon PiP view - Goes back to the app.
- You can see blank screen, and when you goes into PiP again, PiP view is also blank.
Expected behavior Video view keeps displaying.
Screenshots
https://github.com/user-attachments/assets/c4c5ea47-2e79-441a-bf72-ba20b5b00e17
Logs Please provide logs if you can.
It doesn't seem to provide any logs when I close PiP