Hi Dev forum.
We are using Windows SDK wrapper. We want to assign co-host when user join meeting via SDK.
According to manual on other post:
“virtual SDKError AssignCoHost(unsigned int userid) = 0;
The IMeetingParticipantController class(ZOOM Windows SDK: IMeetingParticipantsController Class Reference 13) has all interfaces that you would need to CRUD a participant with his/her user role.”
We did try:
Array users = ZOOM_SDK_DOTNET_WRAP.CZoomSDKeDotNetWrap.Instance.GetMeetingServiceWrap().GetMeetingParticipantsController().GetParticipantsList();
foreach (var item in users)
{
ZOOM_SDK_DOTNET_WRAP.CZoomSDKeDotNetWrap.Instance.GetMeetingServiceWrap().GetMeetingParticipantsController().AssignCoHost((uint)item);
var check = ZOOM_SDK_DOTNET_WRAP.CZoomSDKeDotNetWrap.Instance.GetMeetingServiceWrap().GetMeetingParticipantsController().CanBeCoHost((uint)item);
Console.WriteLine(check);
}
But there is error message: SDKERR_WRONG_USEAGE"
Is there any method to Join Meeting as co-host via SDK ? Please advise.
Thanks.