I use meetingsdk-linux-raw-recording-sample and try to start recording new users that connected after zoom bot. I tried to use void MeetingParticipantsCtrlEventListener::onUserJoin(IList<unsigned int >* lstUserID, const zchar_t* strUserList ){}, but It is return data like this
backend-1 | !!!!!!!!!!!!!! USER JOINED !!!!!!!!!!!!!!
backend-1 | !!!!!!!!!!!!!! LIST OF USERS !!!!!!!!!!!!!!!
backend-1 | 16779264
backend-1 | W!!!!!!!!!!!!!! USER JOINED !!!!!!!!!!!!!!
backend-1 | !!!!!!!!!!!!!! LIST OF USERS !!!!!!!!!!!!!!!
backend-1 | 16778240
This is I like a user and my bot, after this when I connect from another account nothing happend. What can I do for process new users? @chunsiong.zoom
I try to add code in demo/MeetingParticipantsCtrlEventListener.cpp file in this part
/// \brief Callback event of notification of users who are in the meeting.
/// \param lstUserID List of the user ID.
/// \param strUserList List of user in json format. This function is currently invalid, hereby only for reservations.
void MeetingParticipantsCtrlEventListener::onUserJoin(IList<unsigned int >* lstUserID, const zchar_t* strUserList ){ }
and it looks like
void MeetingParticipantsCtrlEventListener::onUserJoin(IList<unsigned int >* lstUserID, const zchar_t* strUserList ){
std::cout<<"!!!!!!!!!!!!!! USER JOINED !!!!!!!!!!!!!!"<<std::endl;
std::cout<<"!!!!!!!!!!!!!! LIST OF USERS !!!!!!!!!!!!!!!"<<std::endl;
for(int i=0; i<lstUserID->GetCount(); i++) {
std::cout<<lstUserID->GetItem(i)<<std::endl;
}
}
and when after bot joined someone connect to meeting this code doesn’t work
We use the Linux SDK extensively to power our meeting bots and have faced similar issues before. To help debug this, a few clarifying questions:
How are you joining as the second participant?
Are you actually leaving, and then re-joining as the same participant? Or, are you joining as a second participant from a separate device?
Depending on how you’re testing this and handling the leave case, this could explain the issue you’re seeing but it’s hard to say without further information.
Another alternative is to use Recall.ai for your meeting bots instead. It’s a simple 3rd party API that lets you use meeting bots to get raw audio/video, participant event webhooks, metadata, and more from meetings in a few lines of code, bypassing the need to spend months to build, scale and maintain these bots yourself.