Hi all,
We are trying to get cordova-plugin-iosrtc working with a Kurento group call (multiple one2many situations). At this moment all is working fine on Android, Chrome and Firefox. But we would like to add iOS also with the plugin.
When we use cordova-plugin-iosrtc all works fine as long as we don't send and receive streams. If we only send or only receive streams all works like a charm. When combining the two, the received stream on iOS keeps black for video and audio sometimes comes true.
To give more debugging information I have setup some tests and gathered all information. For the base of the tests I did the following:
Always started call from calling from iOS to Chrome browser. For the iOS part I changed the code sometimes (discribed in the tests) to enable/disable sending/receiving streams. On Chrome all stayed the same regarding the code. For all tests you can see the attached debug logging from the consoles.
Test 01:
iOS is only sending stream and does nothing with remote stream. On iOS I see my own cam and not the remote (because we disabled this). On Chrome I can see both perfectly. But all works perfectly.
Test 02:
iOS is only using remote stream and is not sending stream. Result is that on iOS I see the remote stream and not own cam becuase not sending it. On Chrome I see my own cam and not remote because not sending it. But all works perfectly.
Test 03:
iOS is sending stream and using remote stream. Result is that on iOS I see my own cam but remote stream remains black, sometimes some audio comes true. On Chrome I can see all perfectly. During this test XCode crashed (see xcode-debug.png).
Test 04:
Same test as 03, but not attached to XCode. No crash, but a lot of iceCandidates floating around on iOS.
We do have followed on build steps described at the iosrtc plugin. Like the hook and the ios-websocket-hack. They are also loaded.
Hopefully someone could point us to the right direction.
Regards,
Mark