Closed coderpradp closed 4 years ago
I forgot to pass the sessionType
and additionalOptions
to the createNewSession
method which was causing the issue.
const sessionType = ConnectyCube.videochat.CallType.VIDEO; // AUDIO is also possible
const additionalOptions = {};
const session = ConnectyCube.videochat.createNewSession(calleesIds, sessionType, additionalOptions);
So, after initiating and accepting call I can see the local stream however, the onRemoteStreamListener callback is never received by caller and opponent. I have attached the log for both caller and opponent below. call accepter log.log call initiater log.log
If it helps, I am setting the listeners only after chat signal is connected: