muaz-khan / RTCMultiConnection

RTCMultiConnection is a WebRTC JavaScript library for peer-to-peer applications (screen sharing, audio/video conferencing, file sharing, media streaming etc.)
https://muazkhan.com:9001/
MIT License
2.57k stars 1.37k forks source link

Cordova IOS #616

Open gmbad opened 6 years ago

gmbad commented 6 years ago

Hello everyone!

I use the Muaz solution for webconference. Everything works very well, except using cordova on IOS.

Someone with the same problem?

Thank you,

Gabriel

LinaAdany commented 6 years ago

Hello @gmbad @muaz-khan

This really is a problem. It does not work yet.

I read on another topic that the @muaz-khan is trying to solve this problem.

Any progress in that?

hugs

muaz-khan commented 6 years ago

Did you set cam/mic permissions using info.plist? Or maybe we need to find a plugin for iOS, similar to cordova-plugin-android-permissions plugin.

(on iphone/ipad) You can go to settings, select the app-name, and manually enable cam+mic permissions.

Warlone commented 6 years ago

Got the same problem. The client code is equal to http://rtcmulticonnection.herokuapp.com/demos/TextChat+FileSharing.html, So no Mic or Video is required. Application is based on iOS 12 + Cordova, The server is yours. In console on server side (after client connection) i got these logs:

Set local description for remote user 1vn8p5q1o7wewm1iusp5a 1vn8p5q1o7wewm1iusp5a online

And no other actions on both sides. No events, no peer connection info exchange, nothing... So it looks like the client connected, but no other actions are performed. Can you please check this - our app can not work without your great component. Thank you!