opentok / cordova-plugin-opentok

Cordova Plugin for OpenTok - add webrtc video to your iOS or Android App
MIT License
30 stars 80 forks source link

OpenTok Android SDK update #196

Open sking-j2interactive opened 4 years ago

sking-j2interactive commented 4 years ago

Feature Request

Description The current version of the OpenTok Android SDK referenced in this repo is 2.15.3 which is not supported by Vonage any longer.

Proposal Please upgrade to version 2.18.1

Links / references I've attached an email I got from Vonage Support regarding this. Vonage API Support support ticket #1530919: Cordova Android app is crashing after connecting to session.eml.zip

CaioMelo8 commented 3 years ago

I wonder if this is why the app I'm currently developing has suddenly started failing delivering both video and audio from the subscriber stream.

The app, which is stuck at the 2.15.3 version of the Opentok client, connects to the stream created by a client website, which in turn uses the 2.18.x version There could be some incompatibility between those versions. What's weird is that the issue doesn't happen every single time, but it consistently occurs when accessing the client website from specific machines.

I might try to update the Opentok client version on my fork repo to see if it could solve this issue.

CaioMelo8 commented 3 years ago

Yep, updating the SDK did the trick. In my case, I updated @opentok/client to 2.19.2 and native Android/iOS SDKs to 2.19.0.

I'm sending a PR for this, it'd be really nice if it could be reviewed and merged.