jitsi / jitsi-meet-sdk-samples

Jitsi Meet mobile SDK examples (Android, iOS and React Native)
Apache License 2.0
283 stars 240 forks source link

Video Muted and unable to unmute, when joining meeting #239

Closed viking2917 closed 3 months ago

viking2917 commented 3 months ago

On certain devices, when the (Android) user joins the meeting, their video (and audio) is muted, and cannot be unmuted. The un-mute button seems to be completely inactive. No way to turn on the video, and the user is stuck in "avatar" mode.

I have only observed this on Android 14, on a Samsung S22, but I have other user reports without being sure the device/OS.

It is a very strange and intermittent problem - sometimes, merely restarting the app causes the problem to go away. Once, I toggled "Contacts" and "Calendars" permissions on (they were off), and it started working, but this may be a coincidence.

For context, this is in an Ionic / Angular app, and I use this Capacitor plugin to wrap the SDK (but I don't think the plugin is at fault since sometimes the app works). https://github.com/calvinckho/capacitor-jitsi-meet.

I have never observed this on iOS or an Android device with Android version <= 13, only on Android 14. Customer reports appear to be all on Android 14.

I use the 8x8.vc domain (paid account) to host the meetings.

I have attached an adb log file for a device that exhibited the symptoms. I do not see anything obvious in it, but I may be missing something.

As it is on Android 14, I have the permission android.permission.FOREGROUND_SERVICE_MEDIA_PLAYBACK set/requested, but I do not have the android.permission.FOREGROUND_SERVICE_MEDIA_PROJECTION permission set.

(Usually, either of those two permissions triggers a requirement for a video to be provided to the app reviewers demonstrating the functionality, which is quite an annoyance, but somehow with PLAYBACK requested and PROJECTION not requested, I did not have to provide a video. This is with a production app, so I can provide a link to it, if helpful.

noVideoAndroid14.log.zip

aaronkvanmeerten commented 3 months ago

If you have a JaaS account you may also choose to open a support ticket to get engagement from the team that way as well. From the jaas developer docs:

https://developer.8x8.com/jaas/docs/jaas-console-contact-support

viking2917 commented 3 months ago

@aaronkvanmeerten great idea, thank you! If I learn anything I will update here.

viking2917 commented 3 months ago

The JAAS Support team reports that this is a known bug, and that a fix is coming in ~2 weeks. I don't know whether the problem is in the JAAS infrastructure or the underlying JITSI software, but either way, I'm going to close this issue. Thanks!

aaronkvanmeerten commented 3 months ago

My understanding from the standup was it had to to do with the mobile SDK interactions, but I'm on the infrastructure side so of course I'd say that. :) Anyway, i hope it is resolved for you in due course.

Calinteodor commented 3 months ago

Jitsi Meet SDK Android, iOS and React Native 10.0.0 have been released. You can check the full release log right here https://github.com/jitsi/jitsi-meet-release-notes/blob/master/CHANGELOG-MOBILE-SDKS.md#1000-2024-08-07

viking2917 commented 3 months ago

@Calinteodor Thank you! I will give it a go.

viking2917 commented 3 months ago

Thanks again for this. I have integrated it in my app and it seems to be working.

One thing I have noticed is that (on Android), if you go into a chat, and go to Settings, at the bottom of the page, the "SDK Version" field is blank, so it is hard to be sure I have the right SDK built in. (On iOS the field says 10.0.0 as expected). It is possible this is somehow related to my build environment, but wanted to mention.