UC V4X 终端scheme应用集成
UC版本链接格式:
umeonpremise://uc4xdemo.yealinkops.com/app/joinmeeting?
number=86666620000&password=&isneedlogin=true&authcode=0e26a5fb904d459691b
e2ad63b9725e4&camera=close&mic=close&isskippreview=false
参数描述:
参数 |
是 否 必 须 |
描述 |
值 |
umeonpremise:// |
是 |
代表唤醒目标是ume客户端 |
umeonpremise:// |
xx.xx.xx.xx:port/ |
是 |
会议的服务器地址 |
实际的服务器地址和端口 |
app/joinmeeting? |
是 |
代表要执行的操作是入会 |
app/joinmeeting? |
number |
是 |
会议号 |
实际的会议号码 |
password |
否 |
会议的密码 |
实际的会议密码 |
isneedlogin |
否 |
是否入会前需要登录,true时, authcode不能为空。key不存在或 key值非true或authcode为空,都无需登录,走原有未登录入会流程 |
true or false |
authcode |
否 |
登录鉴权,用于唤醒时获取账号信 息;需要调用UC API接口获取 “获取用户账号鉴权码”。 |
string |
isskippreview |
否 |
入会是否跳过视频预览。key存在 且为true or fasle才可生效,否则 使用app默认值(该参数仅适用于登录了账号的场景,不适用未登录入会) |
true or false |
camera |
否 |
入会是否开启视频。key存在且为 open or close才可生效,否则使用 app默认值 |
open or close |
mic |
否 |
入会是否开启麦克风。key存在且 为open or close才可生效,否则使 用app默认值 |
open or close |
Android应用集成
void joinUCMeeting()
{
Uri.Builder builder = new Uri.Builder()
.scheme("umeonpremise")
.authority("ume4xdemo.yealinkops.com")
.path("/app/joinmeeting")
.appendQueryParameter("number","86666620000")
.appendQueryParameter("password","")
.appendQueryParameter("isneedlogin","true")
.appendQueryParameter("authcode","xxx")
.appendQueryParameter("isskippreview","true")
.appendQueryParameter("camera","open")
.appendQueryParameter("mic","close");
Intent intent = new Intent();
intent.setData(builder.build());
startActivity(intent);
//"umeonpremise://uc4xdemo.yealinkops.com/app/joinmeeting?
number=86666620000&password="
}
iOS应用集成
func joinUCMeeting()
{
let scheme = "umeonpremise"
/// 根据部署服务器决定host地址
let host = "uc4xdemo.yealinkops.com"
let path = "/app/joinmeeting"
let number = "86666620000"
let password = ""
let isneedlogin = "true"
let authcode = "xxx"
let isskippreview = "true"
let camera = "open"
let mic = "close"
//"umeonpremise://uc4xdemo.yealinkops.com/app/joinmeeting?number=86666620000&password="
let urlString = "\(scheme)://\(host)\(path)?number=\(number)&password=\
(password)&isneedlogin=\(isneedlogin)&authcode=\(authcode)&isskippreview=\
(isskippreview)&camera=\(camera)&mic=\(mic)"
UIApplication.shared.openURL(url)
}
PC(windows/Mac)应用集成
void joinUCMeeting()
{
CString strServer = _T("uc4xdemo.yealinkops.com");
CString strMeetingNumber = _T("86666620000");
CString strMeetingPassword = _T("");
CString isneedlogin = "true";
CString authcode = "xxx";
CString isskippreview = "true";
CString camera = "open";
CString mic = "close";
//combine url
CString strUrl = _T("umeonpremise://")
+ strServer + _T("/app/joinmeeting?")
+ _T("number=") + strMeetingNumber
+ _T("&isneedlogin=") + isneedlogin
+ _T("&authcode=") + authcode
+ _T("&isskippreview=") + isskippreview
+ _T("&camera=") + camera
+ _T("&mic=") + mic;
//"umeonpremise://uc4xdemo.yealinkops.com/app/joinmeeting?
number=86666620000&password="
ShellExecute(0, _T("open"), strUrl, NULL, NULL, SW_SHOWNORMAL);
}