华为云会议 Meeting-场景8:邮件链接入会:示例代码

时间:2025-01-26 10:47:57

示例代码

 1 2 3 4 5 6 7 8 91011121314
// 通过会议ID和Random加入会议int demoJoinConfByRandomDlg::clickJoinConfByRandom(){    // 填写会议ID和密码映射值等;Random入会时,支持配置会场名称    hwmsdkagent::HwmJoinConfByRandomInfo data;    memset(&data, 0, sizeof(hwmsdkagent::HwmJoinConfByRandomInfo));     strncpy_s(data.confId, GetMeetingID().c_str(), HWM_MAX_CONF_ID_LEN);    strncpy_s(data.random, GetAccessCode().c_str(), HWM_MAX_RANDOM_LEN);    strncpy_s(data.name, GetParticipantName().c_str(), HWM_MAX_DISPLAY_NAME_LEN);        int ret = hwmsdkagent::JoinConfByRandom(&data);    return ret;}
support.huaweicloud.com/sdkreference-meeting/win_demo_0012.html