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

Session disconnect not firing #189

Closed ghost closed 4 years ago

ghost commented 4 years ago

` var session = OT.initSession(this.key, this.sessionID); var connection = this.connection

session.forceDisconnect(connection, function (error) { if (error) { console.log(error); } else { console.log("Connection forced to disconnect: "); } }); `

I try to add this in my button, but the forceDisconnect not working