sdg
sdg

Reputation: 1336

WebRTC using PeerJS - Will it work on Android & IOS apps

We have been doing a WebRTC app using PeerJS for web.

Server side : NodeJS

Client side : HTML5/CSS/Javascript/Angularjs

We are 90% there and it is working fine in chrome firefox but not working in safari.I know that safari does not support WebRTC.

Is there any workaround to make it work in safari like any plugin?

My second question is if i copy my web code and put it in phonegap or ionic will it work in Android and IOS . I mean for now we have done a chat using peerJS which is purely a javascript code will the chat work in phonegap or ionic apps in Android and IOS platform

Please share your ideas, which is greatly Appreciated.Thanks:-)

Upvotes: 6

Views: 4145

Answers (1)

luongnv89
luongnv89

Reputation: 1139

For first question: There is a plugin to make WebRTC work on Safari (and IE). You can check here to see the progress of PeerJS and the plugin

For second question: You can do that with Android (for sure there is must be some modifications) but I do not think it work. But you can check Crosswalk-project and PeerJS WebRTC library

Hope this help!

Upvotes: 2

Related Questions