我正在使用Skype网络sdk在线业务Skype工作。 我正在尝试创建多方视频对话,即视频会议。多方视频对话问题Skype在线业务使用Skype网络sdk
我正在使用下面的代码来创建对话。
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, reason, oldState) {
notify("selfParticipant.audio.state :"+newState);
});
//listner for conversion state
conversation.state.changed(function (newValue, reason, 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示出作为对铬空()版本56.0.2924.87(64位)。
selfParticipant.video.state得到断开,但selfParticipant.audio.state是细(改变到连接)。
编辑: Skype的网络SDK日志here
赞赏任何帮助。
查看日志,看起来您开始创建包含A/V(第266-274行)的优惠,稍后重新协商已从远程方的最终答案中删除了视频,但没有线条表示支持哪些视频编解码器。您是否正在测试Chrome到Chrome?您是否尝试过测试其他浏览器? – ShelbyZ
感谢您的回复,是的,我正在测试铬到铬。即使是自己参与的视频也没有显示。我尝试在Firefox中,我收到命令禁用错误,并再次为我这一个问题。 –
@SatishakumarAwati。您是否可以在Chrome 56中进行一对一的视频和音频通话? – Venky