Hello
While testing an app for Zoom marketplace we encountered a problem with unmuting from Linux SDK.
Both calls to audio and video unmute return SDKERR_NO_PERMISSION.
This issue is not observed with development credentials.
The code that is used for unmute:
Audio:
inline IUserInfo* getBotUser() {
ZOOM_SDK_NAMESPACE::IMeetingParticipantsController* pCntrl = MeetingController::inst().getParticipantController();
assert(pCntrl != nullptr);
return pCntrl->GetMySelfUser();
}
SDKError err = mAudioController->MuteAudio(getBotUser()->GetUserID());
if (err != SDKERR_SUCCESS)
LOG_ERROR << "Can't mute audio." << err;
Video:
mVideoController = meetingService->GetMeetingVideoController();
SDKError err = mVideoController->UnmuteVideo();
if (err != SDKERR_SUCCESS)
LOG_ERROR << "Can't unmute video " << err;
Would be grateful if someone could provide help with this issue.