Description
I want my meeting to start automatically in Picture-in-Picture (PiP) mode, so I call enterPiP() inside the conferenceJoined event.
This works correctly on:
- iOS devices
- Android < 16 devices
On Android 16, entering PiP doesn't work.
Steps to Reproduce
- Clone the repository and run the example app.
- Add the following code in the
conferenceJoined event:
var listener = JitsiMeetEventListener(
conferenceJoined: (url) async {
debugPrint("conferenceJoined: url: $url");
final response = await _jitsiMeetPlugin.enterPiP();
debugPrint("enterPiP: $response");
},
// ...
);
await _jitsiMeetPlugin.join(options, listener);
- Run the app on an Android 16 device.
Expected Behavior
- The meeting should start in PiP mode automatically when
enterPiP() is called when a conference was joined on all devices.
Actual Behavior
- On Android 16, PiP is not entered when
enterPiP() is called when a conference was joined.
Additional info
- I noticed if you first enter PiP manually and then return to fullscreen, calling
enterPiP() works on Android 16.
- This can be reproduced by adding a delay in the
conferenceJoined event handler, clicking the top-left button in the meeting view to enter PiP mode, and then returning to fullscreen. When the delay finishes, enterPiP() is called and it works.
- If the delay is added but the user does not enter PiP manually and go back to fullscreen, it still does not work on Android 16.
Description
I want my meeting to start automatically in Picture-in-Picture (PiP) mode, so I call
enterPiP()inside theconferenceJoinedevent.This works correctly on:
On Android 16, entering PiP doesn't work.
Steps to Reproduce
conferenceJoinedevent:Expected Behavior
enterPiP()is called when a conference was joined on all devices.Actual Behavior
enterPiP()is called when a conference was joined.Additional info
enterPiP()works on Android 16.conferenceJoinedevent handler, clicking the top-left button in the meeting view to enter PiP mode, and then returning to fullscreen. When the delay finishes,enterPiP()is called and it works.