需要设置Authentication Service,并确保正确的调用joinMeetingWithParams方法
以下是示例代码:
ZoomSDK zoomSDK = ZoomSDK.getInstance(); if(!zoomSDK.isInitialized()) { zoomSDK.initialize(context, SDK_KEY, SDK_SECRET, WEB_DOMAIN); }
AuthService authService = zoomSDK.getAuthService(); if(authService == null) { authService = zoomSDK.getAuthService(); } if(authService != null) { authService.clientAuth(ACCOUNT_KEY, ACCOUNT_SECRET); }
MeetingService meetingService = zoomSDK.getMeetingService(); if(meetingService.getCurrentMeetingState() == MeetingStatus.MEETING_STATUS_IDLE) { MeetingOptions meetingOptions = new MeetingOptions(); meetingOptions.no_driving_mode = true; meetingOptions.no_invite = true; meetingOptions.no_meeting_end_message = true; meetingOptions.no_titlebar = false; meetingOptions.no_bottom_toolbar = false; //设置meetingOptions参数 meetingService.joinMeetingWithParams(context, meetingParams, meetingOptions); }