Description
I want the audio to be automatically connected over VoIP when the user joins the meeting, but I’m not able to.
Code:
InMeetingAudioController controller;
controller = ZoomSDK.getInstance().getInMeetingService().getInMeetingAudioController();
if (!controller.isAudioConnected()){
controller.connectAudioWithVoIP();
}
This is inside the joinMeeting() method which is called when the user clicks on “Join” button. Everything is working normally but the audio is not being connected automatically and I’m getting the option to connect it.
Which Android Client SDK version?
v5.5.1.1319
To Reproduce
Put this code inside the joinMeeting() and hopefully it will reproduce.
Smartphone:
Device: Pixel 4 XL (Android emulator)
OS: Android 11
Additional context
Probably it has an easy solution, but I’m not much experienced. So, sorry
If you try to perform in-meeting functionality immediately after attempting to join a meeting, it will fail since joining a meeting is an async operation. Please try calling this after receiving the onMeetingStatusChanged callback with a status of MeetingStatus.MEETING_STATUS_INMEETING.