-
Notifications
You must be signed in to change notification settings - Fork 6.6k
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
Microphone and Camera buttons not working #14794
Comments
button_not_working.mp4 |
Hey there! How did you integrate the SDK into your app? Did you use our Activity? |
So the way we integrate the SDK is we have our own activities where you can enter the name of the user etc. And then when the user type the name, we launch the private fun launchRoom(roomName: String, userInfo: JitsiMeetUserInfo) {
val options = JitsiMeetConferenceOptions.Builder()
.setRoom(roomName)
.setServerURL(serverURL)
.setUserInfo(userInfo)
.setAudioMuted(true)
.setVideoMuted(true)
.build()
JitsiMeetActivity.launch(this, options)
finish()
} |
That looks all good! Anything in |
In the logs, if I press the microphone button, I have nothing but if I press the camera button, I always have this: All the other buttons are working. Here is our repo: https://github.com/Infomaniak/android-infomaniak-meet The only difference is that I'm trying to update to the latest version of the SDK, which is 9.2.2. P.S: Thanks for the prompt response! |
Very odd, I don't see anything obvious on the surface :-/ I wonder if it has to do with some support library version mismatch... |
You mean the support library version I'm using is not the right one ? |
I don't know 100%, it could be, I guess. It doesn't make much sense TBH. |
I just tried to update everything to the latest version, same issue. |
Can you please share the entire logcat output? |
Here it is. |
Can yoy adding |
Just tried, same. |
I assume this happens on several devices and not just this one, right? |
I tried on my emulator, Android 14 and on a Pixel Phone, also on Android 14. |
Does the official Jitsi Meet app exhibit the same issue? |
Nope. Everything is working fine on the Jitsi Meet App. |
One thing to note is that it works fine with SDK 8.6.0. For instance, when starting a call, it requests microphone permission, and upon acceptance, it immediately unmutes the microphone. However, with SDK 9.2.2, accepting the permission has no effect. Additionally, on SDK 8.6.0, clicking the camera button prompts for permission. |
One more info. I tried all versions from 8.6.6 to 9.2.2 and the problem is only on the version 9.2.2. Hope it helps ! |
@Calinteodor does this ring a bell? |
Another info, the problem is only on device above API 32. Everything is working fine from API32 and downward. Tested with the latest SDK, 9.2.2. |
I don't seem to repro this while testing with the sample app https://github.com/jitsi/jitsi-meet-sdk-samples/tree/master/android. Can you try it yourself @tevincent ? Thanks. |
It seems to work. One thing that might be interested. If I do this in my app:
I can enable microphone and camera. But if this is false, I cannot. So there's no issue on the prejoin page but there's one on the call page. I cannot really do the same thing in the sample since I have to login on Jitsi meet etc. EDIT: I was able to reproduce the same way on the sample. I'll link a video. |
Here it is: bug_sample.mp4 |
Yep. But after enabling video and audio in Prejoin you can do the same inside the conference, right? |
Nope. You can see I tried to click several times on the camera and microphone icons and nothing happens. |
If you have prejoin page enabled on your app, I am asking. |
So enable prejoin page flag on your app and try muting and unmuting inside the conference. |
Oh ok my bad. Yes if I have the prejoin screen and I enable the microphone and camera, in the conference screen, everything works as expected. |
Cool. Thank you! |
Ok. I took another look and I tested using the sample app. screen-20240604-170906.mp4Everything seems to be in order. Can you check the sample app again? First, just the way it is. |
Let me try again. But did you try the first time you launch the app ? Because I can see it didn't ask for any permission in your video. Because in my case, if it's a fresh install -> launch app -> call, I have the issue but then it's working. |
Do you want me to push a branch with the bug ? I can reproduce easily. Here is an example with a modified sample (fresh install, our server, device on API34): bug_jitsi.mp4 |
Let me try a fresh start. |
Sorry, but I still don't repro the bug. Microphone mutes/unmutes as expected. I get all the permission notifications and allow them. Nothing unexpected. Can you send your server url so I can test with that, too? |
Here it is: https://kmeet.infomaniak.com/ Let me know if you want me to create a branch with the modification to reproduce the bug. |
Let's do that and I will check your code changes on the sample app. |
Here it is: jitsi/jitsi-meet-sdk-samples#236 |
I tested using meet.jit.si server and everything works as expected. |
What versions of the server components are you running @tevincent ? |
That's crazy. How the configuration of the server could impact the behavior of the microphone and camera button ? Especially if it's not working only with one specific version of the SDK. |
Let me get back to you when I get the answer. EDIT: They told me 8615. Is that ok? |
https://github.com/jitsi/jitsi-meet/releases/tag/stable%2Fjitsi-meet_8615 So that is 1 year old. It should work, but we might have messed up something inadvertently. Let's try something to validate that a server update would "solve" it: please join a meeting in alpha.jitsi.net with your app. Does it work? Note: alpha uses the latest of everything and meetings are destroyed after 5 minutes. |
Just tried with https://alpha.jitsi.net. The microphone button seems to be working but not the camera button. bug_mic_camera.mp4 |
This is very weird. I took another look using the sample android kotlin app with prejoin page disabled and server set to https://alpha.jitsi.net/. Mute audio/video buttons work as expected. |
What happened?
Hello,
The first time I'm joining a call, just after installing the app, camera and microphone buttons are not working. Is that a known issue ? Or did I forget to implement something ?
The way I'm able to reproduce it is:
I have attached a video to show the problem.
Thanks !
Platform
Browser / app / sdk version
9.2.2
Relevant log output
No response
Reproducibility
More details?
No response
The text was updated successfully, but these errors were encountered: