Description
ChangeUserName (from IMeetingParticipantsController
) returns SDKError 2, when trying to change my own name (the SDKDemo user).
Which Windows Meeting SDK version?
5.14.5.15340
To Reproduce(If applicable)
Steps to reproduce the behavior:
- Have the SDK demo join any meeting.
- Inside any callback, e.g.
onUserJoin
, run these lines of code:
void CMeetingServiceMgr::onUserJoin(IList<unsigned int >* lstUserID, const wchar_t* strUserList)
{
// virtual SDKError ChangeUserName(const unsigned int userid, const wchar_t* userName, bool bSaveUserName) = 0;
auto res = m_pUserCtrl->ChangeUserName(ZoomSDKUserId, L"NewName", false);
std::stringstream s;
s << "res: " << res;
::log(s.str());
}
Logs
2023-09-21 15:08:45.100 3612909816Chorus911183868F47829455DAED58668858A7184 res: 2
Device (please complete the following information):
- Device: HP Zenbook laptop
- OS: Windows 10