songz / cordova-plugin-opentok

Cordova Plugin for OpenTok - add webrtc video to your iOS or Android App
Other
162 stars 270 forks source link

iOS - Firefox, can't publish to FF #197

Open Pentiado opened 9 years ago

Pentiado commented 9 years ago

Title says pretty much everything. Mobile user hears and sees web user but not the other way. In logs on both sides it looks like successful call. Android works just fine. It used to work a while ago for iOS as well. Does someone else has same problem?

fatmonkey99 commented 8 years ago

I just completed a test app that works both ways - the plugin has issues (old api, unmaintained), but should work. I had a number of problems on the way, most of them pilot errors. I will share my test code in a moment so you can give it a try.

derwaldgeist commented 8 years ago

I'm having the same problem with iOS and Firefox. My iPad can communicate with an Android device and with the Chrome browser. But FF does not work.

@fatmonkey99: How exactly did you solve that problem?

derwaldgeist commented 8 years ago

I found a workaround now by accident. Because I had performance issues on my iPad 3, I tried the fork from @ljzerenHein (https://github.com/IjzerenHein/cordova-plugin-opentok/network) who was so kind to update the OpenTok iOS plugin to a more recent version (2.6.1).

With this version, the iPad can communicate with Firefox, and it also reacts better to decaying network bandwidth, which is great. I had some other issues, however, due to additional changes ljzerenHein made for his project (they broke my screeen-orientation resize scripts), so I ended up making a fork for myself which is only including his plugin update, but not the rest. You can find this fork here: https://github.com/guzzio/cordova-plugin-opentok

But beware: I am totally new to Github forking, so it's quite likely that I will delete this fork soon, because I am still figuring out how to merge changes across forks in the most convenient way. Anyway, you can also compare ljzerenHein's fork with the original and cherry-pick the changes to the plugin version yourself. He has documented his changes nicely in his commits.

smuaq commented 8 years ago

@derwaldgeist Thanks for the updated fork, yours is the only one which ended up working for me besides the orignal songz. Can you tell me how are you going about screen issues in android and ios? What about the screen orientation quirk that you mentioned? Can you share that with me? thanks.