songz / cordova-plugin-opentok

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

Questions regarding opentok.js included in this repository and the one hosted on opentok's site #151

Closed tysjiang closed 9 years ago

tysjiang commented 9 years ago

Some questions:

  1. What is the difference between the opentok.js file included in this repository and the one hosted on opentok's site: http://static.opentok.com/v2/js/opentok.min.js
  2. What version is this opentok.js?
  3. Are we supposed to be able to use either files to work with this plugin or just the opentok.js included in this plugin? 3a. If we're just supposed to use the included file, are there any plans of updating the included opentok.js? (since it seems to be a bit out-of-date or out of sync with the one hosted on opentok)

Observed notes that led to the above questions:

aullman commented 9 years ago
  1. This opentok.js is completely different from OpenTok's one. It is made to have a similar API but it doesn't support all of the same features. It has been completely rewritten to work as a bridge between the JS in the browser and OpenTok's iOS and Android SDKs. It was not written by the OpenTok JS team, it is a 3rd party open source project.
  2. It's not currently following a versioning system but it should.
  3. Only the opentok.js included in this plugin will work. a. Yes we're aware of some of the issues, they have been filed in the issues list. If you find any other ones please add to the list. Also, feel free to chip in and fix some of the inconsistencies, we invite contributions from others using this plugin.
tysjiang commented 9 years ago

Thank you for clarifying, it is much appreciated!