我正在使用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