I work in Skype for Business on the Internet using Skype web sdk. I am trying to create a multi-user video conference call.
I use the code below to create a conversation.
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); });
And the logs above the code below:
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
I have two problems.
dialog.videoService.maxVideos showing as null on chrome () Version 56.0.2924.87 (64-bit).
selfParticipant.video.state gets Disconnected , but selfParticipant.audio.state is excellent (transition to connected ).
EDIT: Skype web SDK logs here
Any help was appreciated.
source share