更新時(shí)間:2019-11-19
指定用戶開啟或者關(guān)閉屏幕共享,接受或者拒絕共享邀請。
屏幕共享的前提是已加入會議。
代碼示例:
var cloudecStartShareScreen = function (number) { var conference = client.getConfHandler(); if (conference == null) { alert("Meeting has not yet started"); return; } client.startScreenSharing(number); } |
參考文件:\usage\components\attendee_list.html。
代碼示例:
onSharedInComing: function (ret) { var con_ret = confirm("You have a sharing invitation,reject or accept?"); if (con_ret == true) { ret.info.answerScreenSharing(true); } else { ret.info.answerScreenSharing(false); } } |
參考文件:\usage\event_process.js。
代碼示例:
var cloudecStopShareScreen = function (number) { var conference = client.getConfHandler(); if (conference == null) { alert("Meeting has not yet started"); return; } client.stopScreenSharing(number); } |
參考文件:\usage\components\attendee_list.html。
無