-
-
Notifications
You must be signed in to change notification settings - Fork 36
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Stable Picture-In-Picture mode #67
Comments
Have you tested the pip on Android or IOS? If it's on Android, did you need to change something in the native code? |
It is on android. I have to change the AndroidManifest in the plugin to enable PIP. but once enabled, going in and out of PIP is very jarring experience. but it working on jitsi meet app and flutter plugin. |
I had the same experience, on native code and in flutter works pretty well. Even with this issue I rather Ionic than others. It's more simple. |
I intentionally disabled PIP on the plugin for this reason. I will investigate again and see if there is any solution. |
@jefaokpta @msp-ampcome According to the Jitsi mobile SDK documentation:
I currently do not have time to work on this, but you are welcome to try and add non-native support for PIP in iOS and submit a PR. As for PIP support on Android, I have done some work and seem to be able to get it to work. Try to install 2.1.2-beta.0 and deploy it on Android to test it. |
@calvinckho Hey thanks for the quick update, I installed the beta version and tested it. Now PIP mode is working properly, Audio/Video is working as expected. But If i disconnect the call, the app is crashing, regardless of whether i entered PIP mode or not. This is the error I am getting and attached the screen record for your reference
I/JitsiMeetSDK: [features/base/connection] No connection found while disconnecting. https://drive.google.com/file/d/1rS0z_SlgpPvXN4NHHrNa_DVvn6Pm5OCQ/view?usp=sharing |
can you try 2.1.2-beta.1? I fixed a bug which caused the crash. |
Will try and let you know |
@calvinckho Yeah, now the crash is fixed. Thank you so much. We really appreciate your quick response and your hard work. I tested it on Android 11. We will test it on more devices and let you know the results. |
@calvinckho sometimes the status bar is showing up on PIP mode. like this https://ibb.co/GCK0ss8 |
@msp-ampcome yes I also noticed it on my test app PIP window. The header bar would stay for a few seconds and then disappear. Have you noticed the same UI behavior in the official Jitsi app? |
@calvinckho In the official app, the header bar is not showing. Maybe we have to remove the title bar ourselves like shown here. |
@msp-ampcome Thanks for your research. It was helpful. I disabled the header bar in the plugin's AndroidMannifest.xml file. Please try 2.1.2-beta.2 in your test app. |
@calvinckho Thanks for the update, We tested it, now the header bar is not coming. But we found an another bug. if the user closed the PIP window with the close button. the call is not disconnected on jitsi. if you rejoin the call. you can see 3 participants. You can see your name twice. one is current session, another one is the previous dead version. This issue is not coming, if we disconnect from the meeting properly via the reject call button on the expanded jitsi view. |
Ok let me check on this issue. |
OK. also want to check if this issue is still experienced when you use 2.1.2-beta.2 in Android? |
I have tried to reproduce this bug. It tried to open and close the PIP window about 15 times. Out of the 15 times, only 1 time did it fail to leave the call. The other 14 times it was able to leave the call. Perhaps it is a race condition? But as I was not able to reproduce the issue, it is very difficult to debug it. Also, I cannot merge it with the main branch until this issue is resolved. |
2.1.2 is released with the PiP mode disabled on Android because of the instability reported above. For future testing purposes, you can install 2.1.2+ and do the follow to enable PIP mode for Android:
Things to test and report:
|
PIP in Android is now fully supported in the 2.2.0 release. The bug mentioned above should be fixed. To enable PIP in Android: i. In the plugin's AndroidManifest.xml, set supportsPictureInPicture to true.
ii. Set the featureFlags param 'pip.enabled' to true
For iOS PIP implementation, as the Jitsi SDK doesn't support native PIP yet, for those who need it in their iOS deployment, I offer consultation service to help you implement it in a non-native way. See this video for a demo: RPReplay_Final1646465120.MP4Feel free to DM me for more info. |
Hey, Hope you are doing well. We are trying to use the PIP mode. But once we enter the pip mode, we can interact with the app without any issues but video and audio become very unstable/glitchy. is there any way to stabilize this issue. Because in the jitsi meet app, the pip mode is working fine. Please let us know if there is any solution. Thank you for creating this plugin.
The text was updated successfully, but these errors were encountered: