Enabling the audio before Joining a meeting

Description
When the user joins a meeting he/she has to click on join meeting with device audio. I want the Audio to be enabled at the beginning itself.

Which version?
Version 2.0.0

Smartphone (please complete the following information):

  • Device: [e.g. Samsung M20]
  • OS: [e.g. Pie]
  • Version [e.g. 28]

Additional context
I went through the documentation but did’nt find any usefull data regarding the same

Hi harshvardhanmandad,

Thanks for using Zoom SDK. Regarding your questions

If you would like to request audio permission before the meeting starts, you can refer to: https://developer.android.com/training/permissions/requesting

If you would like to automatically connect to the audio when the meeting starts, you can use the interfaces provided in https://zoom.github.io/zoom-sdk-android/us/zoom/sdk/InMeetingAudioController.html to control the audio. For example, you can use https://zoom.github.io/zoom-sdk-android/us/zoom/sdk/InMeetingAudioController.html#connectAudioWithVoIP-- after the meeting correctly starts, and automatically connect to the audio via VoIP.

Since we have multiple ways of connecting audios to a meeting (VoIP, Dial-in, Call-Me, etc.), you need to select the method of using audio if you would like to automate it.

Hope this helps. Thanks!

Thanks for replying @carson.zoom . Also my concern is not about the audio permission. Its only to start audio by default when the meeting starts. I tried calling connectAudioWithVoIP but still it doesn’t work. So here is what i have done:

val mInMeetingAudioController : InMeetingAudioController = ZoomSDK.getInstance().inMeetingService.inMeetingAudioController mInMeetingAudioController.connectAudioWithVoIP()

While creating the instance of ZoomSDK i am initializing InMeetingAudioController and after calling joinMeetingWithParams i am calling connectAudioWithVoIP

Hi harshvardhanmandad,

Thanks for using Zoom SDK.

Before join or start Meeting set AutoConnectVoIPWhenJoinMeeting true.
ZoomSDK.getInstance().getMeetingSettingsHelper().setAutoConnectVoIPWhenJoinMeeting(true);

1 Like