How to get to userID?


#1

How to get to user ID?

用来给远程的计算机进行远程控制。

It is used for remote control of remote computers.

谢谢。

Thank you.

Example:

m_pMeetingServiceMgr->m_pRemoteCtrl->GiveRemoteControlTo(_wtoi64( strUserID ));


#2

Hi,

You can handle the callback event IMeetingRemoteCtrlEvent::onRemoteControlStatus() when the RemoteControlStatus equals to ZOOM_SDK_NAMESPACE::Remote_Control_I_Recv_Request_Msg. The other parameter in this callback function is the user id.

Otherwise, there is a class IUserInfo in meeting_participants_ctrl_interface.h. Please refer to IMeetingParticipantsController::GetParticipantsList(). You also can handle IMeetingParticipantsCtrlEvent::onUserJoin() to make a local user list.

Hope this is useful for you.

 

Regards,

Wilmer