更新时间:2024-07-04 GMT+08:00
链接入会
描述
通过此链接可以拉起华为云会议App并且加入会议。
华为云会议未启动场景下,调用此链接会拉起应用并且匿名入会;
华为云会议已启动未登录场景下,调用此链接会弹出主界面并且匿名入会;
已启动已登录场景下,调用此链接会弹出主界面并以当前账号入会。
第三方App中调用的代码示例(C++)
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 |
//匿名入会 void joinMeetingAnonymousDlg::OnBnClickedButtonJoinMeetingAnonymous() { CString serverAddress = _T("address"); CString serverPort = _T("port"); CString meetingID = _T("id"); CString meetingPassword = _T("password"); CString showName = _T("name"); CString isOpenMic = _T("true"); CString isOpenCam = _T("true"); //组装scheme CString schemeStr = _T("cloudlink://welinksoftclient/h5page?page=joinConfByLink&server_url=") + serverAddress + _T("&port=") + serverPort + _T("&conf_id=") + meetingID + _T("&enter_code=") + meetingPassword + _T("&name=") + showName + _T("&open_mic=") + isOpenMic + _T("&open_camera=") + isOpenCam; HWND hwnd = AfxGetApp()->GetMainWnd()->GetSafeHwnd(); ShellExecute(hwnd, _T("open"), schemeStr, NULL, NULL, SW_SHOWNORMAL); } |
- 上述代码示例仅作为逻辑示例,不能直接使用。
- 如果是在Web上拉起华为云会议App并加入会议,只需要用"href=cloudlink://welinksoftclient/h5page?page=joinConfByLink&server_url=meeting.huaweicloud.com&port=8443&conf_id=conf_id_value&enter_code=enter_code_value&name=name_value&open_mic=true&open_camera=false"跳转即可。
父主题: 业务开发