多方视频对话使用skype web sdk在线发布Skype for business
发布时间:2020-12-14 02:21:30 所属栏目:Windows 来源:网络整理
导读:我正在使用Skype web sdk在线工作Skype for business. 我正在尝试创建多方视频会话,即视频会议. 我使用下面的代码来创建对话. var conversation = app.conversationsManager.createConversation(); //created conversion//self video listenerconversation.s
我正在使用Skype web sdk在线工作Skype for business.
我正在尝试创建多方视频会话,即视频会议. 我使用下面的代码来创建对话. var conversation = app.conversationsManager.createConversation(); //created conversion //self video listener conversation.selfParticipant.video.state.changed(function (newState,reason,oldState) { notify("selfParticipant.video.state : "+newState) }); //self audio listener conversation.selfParticipant.audio.state.changed(function (newState,oldState) { notify("selfParticipant.audio.state :"+newState); }); //listner for conversion state conversation.state.changed(function (newValue,oldValue) { notify("conversation.state : "+newValue) }); //add participants addParticipants(conversation,sip_uris); //Added participants notify("conversation.videoService.maxVideos : "+conversation.videoService.maxVideos()); notify("conversation.videoService.videoMode : "+conversation.videoService.videoMode()); //start video service conversation.videoService.start().then(function () { notify("Video conference successfully started : "+conversation.uri()); },function (error) { notify("Video conference start failed : "+error); }); 以上代码的日志如下所示 1:26:51 PM : selfParticipant.video.state : Disconnected 1:26:51 PM : selfParticipant.audio.state :Disconnected 1:26:51 PM : conversation.state : Created 1:26:51 PM : conversation.videoService.maxVideos : null 1:26:51 PM : conversation.videoService.videoMode : ActiveSpeaker 1:26:52 PM : conversation.state : Conferenced 1:26:53 PM : selfParticipant.audio.state :Connecting 1:26:53 PM : selfParticipant.video.state : Connecting 1:27:04 PM : selfParticipant.audio.state :Connected 1:27:04 PM : selfParticipant.video.state : Disconnected 1:27:04 PM : Video conference successfully started 我有两个问题. > conversation.videoService.maxVideos在chrome()版本56.0.2924.87(64位)上显示为null. 编辑: 任何帮助赞赏. 解决方法
确保使用此站点的“公共预览密钥”:
https://msdn.microsoft.com/en-us/skype/websdk/docs/apiproductkeys
通常,当您使用GA-Key时,您会收到“禁用命令”错误. (编辑:李大同) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |
相关内容
推荐文章
站长推荐
- Windows Server 2003,DHCP:地址池和预留
- Windows 7 – 在Windows中设置每个进程的最大CPU
- 双击时如何使Windows批处理文件暂停?
- 如何在Windows Server 2008中调整主分区的大小?
- windows-server-2008 – Windows 2008忽略了Grat
- 使用带有Ionic 2 Typescript的windows.plugins
- 如何在Windows PE 32位可执行文件中为我的代码洞
- 如何在Windows上安装和使用cli53工具?
- 当新DLL复制到BIN目录时,ASP.net C#需要重新启动
- windows – IT工作人员代表团的建议
热点阅读