Comments (4)
Update: I have changed "options =" to "var options =" (line 233) and "req =" to "var req =" (line 244) and it now works perfectly.
from opentok-node.
If this is resolved, then you can close the issue, right?
from opentok-node.
I do not know if this is resolved or not, I haven't updated Opentok api. Opentok developers should not make any variables global in their modules. If this is resolved, there should be an answer from them. However, here is absolutely no answer for 4 months.
from opentok-node.
@igorpavlov sorry about the silence regarding the issue. i can admit we have room for improvement in terms of monitoring external feedback on these SDKs. thanks for taking the time to try and help improve it with your feedback.
in this particular instance i don't see any issues with the code (the changes you suggested are now in the repo). but even before then, i'm not sure there would have been any issue. even if options
and req
were not defined with var, that should at most be visible in the current file opentok.js
. you shouldn't be writing any additional code in that file, only including it using npm
and require('opentok')
. so it would be impossible for these variables to leak to your express app.
from opentok-node.
Related Issues (20)
- OT_XDOMAIN_OR_PARSING_ERROR HOT 1
- streamMode is missing in archive options HOT 2
- Patch Archive checks for wrong http response code
- body-parser-1.12.4.tgz: 5 vulnerabilities (highest severity is: 7.5) reachable - autoclosed HOT 1
- express-3.21.2.tgz: 13 vulnerabilities (highest severity is: 9.8) reachable
- ejs-2.7.4.tgz: 3 vulnerabilities (highest severity is: 9.8) unreachable
- request-2.88.2.tgz: 2 vulnerabilities (highest severity is: 9.8) unreachable HOT 3
- express-4.12.4.tgz: 4 vulnerabilities (highest severity is: 7.5) unreachable
- Option to mute microphone of the publisher through a button HOT 1
- bug: error 400 (bad request) using NodeJS SDK method `unregisterCallback` HOT 1
- jsonwebtoken-8.2.0.tgz: 4 vulnerabilities (highest severity is: 9.8) - autoclosed HOT 1
- opentok-2.15.1.tgz: 3 vulnerabilities (highest severity is: 8.1) - autoclosed HOT 1
- Problem with initializing OpenTok HOT 1
- Unable to set the archiving resolution when using automatic session archive
- 2.17.0 breaks due to SyntaxError, automatic json parsing in needle HOT 2
- Session not found error when manual archive startArchive right after createSession with valid session id. HOT 1
- listStreams: TypeError: Cannot read properties of undefined (reading 'map') HOT 2
- codecov.yml - Ensure top-level permissions are not set to write-all
- ci.yml - Ensure top-level permissions are not set to write-all
- body-parser-1.18.3.tgz: 1 vulnerabilities (highest severity is: 7.5) unreachable
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from opentok-node.