songz / cordova-plugin-opentok

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

android error - create publisher and destroying publisher without connecting to session #106

Open songz opened 10 years ago

songz commented 10 years ago

creating a publisher and then immediately destroying it results in a crash if there are no session available.

devand123 commented 9 years ago

Is there a workaround for this?

I'm pretty sure I have a session available, as I have this output:

I/OTPlugin(26470): created new session with data: [--all my data here--] I/OTPlugin(26470): addEvent I/OTPlugin(26470): adding new event - sessionEvents I/OTPlugin(26470): connect I/OTPlugin(26470): connect command called I/OTPlugin(26470): session connected, triggering sessionConnected Event. My Cid is: --my cid here--

Any guidance as to what I should do?

Thank you