Giosch
Giosch

Reputation: 11

Cordova phonertc demo working on android but not on browser

I'm experimenting with the phonertc cordova plugin. Any public demo wasn't working for me, so i've written one by my self, copying the structures of the examples of the original repository.

The demo is a simple audio call between two users that are using the app. When i run it on android it works fine, i can talk to the other person, and on the signaling server logs i can read the messages that the library exchanges between the two clients.

But when i run on the browser (chrome or mozilla), i can see that the application logic works fine, but the library, when calling

session.call()

just do not generate any error message and the signaling server receive nothing. Just, the demo do not works on browser and i have no idea how to debug this.

All the project is here on github if you want to check for mistakes. What can i do to debug or solve this problem?

Upvotes: 0

Views: 608

Answers (1)

Bala Abhinav
Bala Abhinav

Reputation: 1348

PhoneRTC is a cordova plugin, which means, It is a cordova based wrapper for the Android and iOS SDK's. Cordova plugins do not work in the browser as they wrap native SDKs meant to be used in the respective OS, in this case either android or iOS..

Upvotes: 0

Related Questions