差别
这里会显示出您选择的修订版和当前版本之间的差别。
两侧同时换到之前的修订记录 前一修订版 后一修订版 | 前一修订版 后一修订版 两侧同时换到之后的修订记录 | ||
rtc:conference:web [2020/06/24 01:45] suqx [用户A进入会议] |
rtc:conference:web [2020/07/08 02:14] lizg [共享桌面] |
||
---|---|---|---|
行 257: | 行 257: | ||
rec: true, // 开启录制 | rec: true, // 开启录制 | ||
recMerge: true, //开启录制合并 | recMerge: true, //开启录制合并 | ||
+ | supportWechatMiniProgram: true, //是否支持微信小程序 | ||
maxTalkerCount:3 //自定义会议最大主播人数 | maxTalkerCount:3 //自定义会议最大主播人数 | ||
maxVideoCount:2 //自定义会议最大视频数 | maxVideoCount:2 //自定义会议最大视频数 | ||
行 403: | 行 403: | ||
/** | /** | ||
* videoConstaints {screenOptions: ['screen', 'window', 'tab']} or true | * videoConstaints {screenOptions: ['screen', 'window', 'tab']} or true | ||
- | * withAudio: true 携带语音,false不携带 | + | * withAudio: true 携带语音,false不携带 如携带语音,需自己调用关闭流,不会执行 stopSharedCallback 回调 |
* ext 用户自定义扩展,其他成员可以看到这个字段 | * ext 用户自定义扩展,其他成员可以看到这个字段 | ||
* stopSharedCallback 共享插件 点击【停止共享】的回调函数,做相应的处理(比如删除流...) | * stopSharedCallback 共享插件 点击【停止共享】的回调函数,做相应的处理(比如删除流...) | ||
行 603: | 行 603: | ||
}) | }) | ||
等价于 | 等价于 | ||
- | emedia.mgr.triggerResumeVideo(localVideoTag).then(function(){ | + | emedia.mgr.triggerPauseVideo(localVideoTag).then(function(){ |
}).catch(function(){ | }).catch(function(){ | ||
行 610: | 行 610: | ||
</code> | </code> | ||
<code javascript> | <code javascript> | ||
- | emedia.mgr.pauseVideo(pubS).then(function(){ | + | emedia.mgr.resumeVideo(pubS).then(function(){ |
}).catch(function(){ | }).catch(function(){ | ||
行 616: | 行 616: | ||
}) | }) | ||
等价于 | 等价于 | ||
- | emedia.mgr.triggerPauseVideo(localVideoTag).then(function(){ | + | emedia.mgr.triggerResumeVideo(localVideoTag).then(function(){ |
}).catch(function(){ | }).catch(function(){ |