更新時(shí)間:2019-11-19
邀請(qǐng)其他與會(huì)者遠(yuǎn)程控制,請(qǐng)求控制其他與會(huì)者,接受或者拒絕遠(yuǎn)程控制其他與會(huì)者。
屏幕共享的前提是已加入會(huì)議。
代碼示例:
var number=prompt("Please enter the number",""); if(number!=undefined && number!=null && number!=""){ client.setRemoteCtrl(1, 0, number); } |
參考文件:\usage\components\attendee_list.html。
代碼示例:
var cloudecRequestRemoteCtrl = function () { var conference = client.getConfHandler(); if (conference == null) { alert("Meeting has not yet started"); return; } client.requestRemoteCtrl(1); } |
代碼示例:
onAsOnPrivilege: function(ret) { if (ret.info.sharePrivilegeType == 0) { switch (ret.info.shareAction) { case 0: alert("share permissions are released "); break; case 1: alert("share permissions are added "); break; case 2: alert("share permissions are modified "); break; case 3: var privilegeRet = confirm("The other person requests control of your computer,reject or accept?"); if (privilegeRet == true) { client.answerRemoteCtrl(ret.info.attendee, true); } else { client.answerRemoteCtrl(ret.info.attendee, false); } break; case 4: alert("share permission request is denied "); break; default: } } }, |
參考文件:\usage\event_process.js。
代碼示例:
onAsOnPrivilege:function(ret){ if(ret.info.sharePrivilege==1){ switch(ret.info.shareAction){ case0: alert("share permissions are released "); break; case1: alert("share permissions are added "); break; case2: alert("share permissions are modified "); break; case3: if(ret.info.isSelf==1){ var privilegeRet = confirm("The other person requests control of your computer,reject or accept?"); if (privilegeRet == true) { client.answerRemoteCtrl(ret.info.attendee,true); }else { client.answerRemoteCtrl(ret.info.attendee,false); } } break; case4: alert("share permission request is denied "); break; default: } } } |
參考文件:
\usage\event_process.js
無。