This is a copy of the logs. The sessionConnected event is never fired.
- Code: Select all
[DEBUG] opentok: OpenTok JavaScript library v1.1.0 TB.min.js:36
[DEBUG] opentok: Release notes: http://www.tokbox.com/opentok/api/tools/js/documentation/overview/releaseNotes.html TB.min.js:36
[DEBUG] opentok: Known issues: http://www.tokbox.com/opentok/api/tools/js/documentation/overview/releaseNotes.html#knownIssues TB.min.js:36
[DEBUG] opentok: TB.setLogLevel(5) TB.min.js:36
[DEBUG] opentok: TB.addEventListener(exception) TB.min.js:36
[DEBUG] opentok: TB.initSession(1_MX4xNjAwNjY4MX4xMjcuMC4wLjF-TW9uIE5vdiAyNiAwODo1MDo1NSBQU1QgMjAxMn4wLjU2OTY1MjV-) TB.min.js:36
[DEBUG] opentok: TB.addEventListener(sessionConnected) TB.min.js:36
[DEBUG] opentok: TB.addEventListener(streamCreated) TB.min.js:36
[DEBUG] opentok: TB.addEventListener(streamDestroyed) TB.min.js:36
[DEBUG] opentok: TB.addEventListener(connectionCreated) TB.min.js:36
[DEBUG] opentok: TB.addEventListener(connectionDestroyed) TB.min.js:36
[DEBUG] opentok: TB.addEventListener(exception) TB.min.js:36
[DEBUG] opentok: Session.connect(16006681) TB.min.js:36
[DEBUG] opentok: TB.checkSystemRequirements() TB.min.js:36
[DEBUG] opentok: TB.addEventListener(envLoaded) TB.min.js:36
[DEBUG] opentok: TB.dispatchEvent(dynamicConfigChanged) TB.min.js:36
[DEBUG] opentok: TB.removeEventListener(dynamicConfigChanged) TB.min.js:36
[DEBUG] opentok: TB.removeEventListener(dynamicConfigLoadFailed) TB.min.js:36
[DEBUG] opentok: TB.dispatchEvent(envLoaded)
These are a few of the variables I see when I console.log the session object as well:
- Code: Select all
capabilities: null
connected: false
connecting: true
connection: null
Anyone experiencing the same issue or know how to resolve this? I am generating sessionIds & tokens via the REST API. Here is one sessionId and token pair that I've tried.
- Code: Select all
App ID: '16006681',
Token: 'T1==cGFydG5lcl9pZD0xNjAwNjY4MSZzaWc9MjlmMjM0NzJlMTU5NTQyZjNhNjQ1MzZmODc4ZWVjMTZkNjRiMDQ0ODpzZXNzaW9uX2lkPTFfTVg0eE5qQXdOalk0TVg0eE1qY3VNQzR3TGpGLVRXOXVJRTV2ZGlBeU5pQXdPRG8xTURvMU5TQlFVMVFnTWpBeE1uNHdMalUyT1RZMU1qVi0mY3JlYXRlX3RpbWU9MTM1Mzk0ODY2NiZleHBpcmVfdGltZT0xMzU0MDM1MDY2JnJvbGU9bW9kZXJhdG9yJmNvbm5lY3Rpb25fZGF0YT0mbm9uY2U9MzQ5MDU5'
SessionId: 1_MX4xNjAwNjY4MX4xMjcuMC4wLjF-TW9uIE5vdiAyNiAwODo1MDo1NSBQU1QgMjAxMn4wLjU2OTY1MjV-
Thanks,
Sandro