I am experimenting an issue sending message via chat using Meeting SDK. Some users are unable to send chat messages. It happens sporadically and I have not yet find a clear way to replicate the issue.
I am using the following Meeting SDK call for sending the messages:
MobileRTCSDKError sendResult = inMeetingService.getInMeetingChatController().sendChatToGroup(MobileRTCChatGroup_All, "Message");
The call continuously returns SDKERR_NO_PERMISSION
The strange thing is that right after the error occurrence I checked the attendee chat permission using
InMeetingChatController.MobileRTCMeetingChatPriviledge meetingChatPriviledge = inMeetingService.getInMeetingChatController().getMeetingAttendeeChatPrivilege();
and it tells me that the permission is set to “Everyone_Publicly_And_Privately”
So it does not look as a chat permission issue.
Unfortunately I was not able to replicate this issue on a debug environment but only on the field with the released app.
Is Everyone_Publicly_And_Privately the correct permission setting?
Can you clarify in which cases the SDK can return the SDKERR_NO_PERMISSION?
How can I debug this kind of issues?
Are there any other things that I can check for investigating this issue?
I saw this issue since Zoom Meeting SDK v5.9.3.4273 up to v5.13.10.12577
I have not yet tried using the latest SDK version.
Device: Samsung Galaxy A41 (a41) (SM-A415F)
OS: Android 12
This is my code:
MobileRTCSDKError sendResult = inMeetingService.getInMeetingChatController().sendChatToGroup(MobileRTCChatGroup_All, msg);
if (sendResult != MobileRTCSDKError.SDKERR_SUCCESS) {
Timber.tag(TAG).e("Error sending MESSAGE chat message %s", sendResult.toString());
InMeetingChatController.MobileRTCMeetingChatPriviledge meetingChatPriviledge = inMeetingService.getInMeetingChatController().getMeetingAttendeeChatPrivilege();
switch (meetingChatPriviledge) {
case Invalid:
Timber.tag(TAG).i("MeetingChatPriviledge: invalid");
break;
case No_One:
Timber.tag(TAG).i("MeetingChatPriviledge: no one");
break;
case Host_Only:
Timber.tag(TAG).i("MeetingChatPriviledge: host only");
break;
case Everyone_Publicly_And_Privately:
Timber.tag(TAG).i("MeetingChatPriviledge: everyone publicly and privately");
break;
case Everyone_Publicly:
Timber.tag(TAG).i("MeetingChatPriviledge: everyone publicly");
break;
}
}
This is the log content:
2023-06-03 10:45:57.785 +0200 CEST Error sending MESSAGE chat message SDKERR_NO_PERMISSION
2023-06-03 10:45:57.79 +0200 CEST MeetingChatPriviledge: everyone publicly and privately