主頁 > 服務(wù)與支持 > 開發(fā)平臺 > 客戶端SDK參考 > Windows應(yīng)用集成 > 業(yè)務(wù)開發(fā) 鏈接入會
更新時間:2019-11-20
通過此鏈接可以拉起應(yīng)用并且入會。
app未啟動場景下,調(diào)用此鏈接會拉起應(yīng)用并且匿名入會;app已啟動未登錄場景下,調(diào)用此鏈接會彈出主界面并且匿名入會;app已啟動已登錄場景下,調(diào)用此鏈接會彈出主界面并以當(dāng)前賬號入會。
//匿名入會 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); } |
上述代碼示例僅作為邏輯示例,不能直接使用。