Comments (6)
This works for me
if (env.name !== 'IE' || env.version > 9) { if(typeof nodes == 'undefined' || typeof nodes == 'null' ){ return []; } return Array.prototype.slice.call(nodes); }
from opentok-web-samples.
I actually did some debugging and figured out how to resolve the issue so that we are creating a new XMLHttpRequest and checking instanceof (new XMLHttpRequest()).constructor
but after doing that I ran into other issues with the WebSocket because pace.js are also overriding that!
I think that you're going to have to stop using pace.js or ask them to fix the issue and tell them not to override globals. Specifically window.XMLHttpRequest and window.WebSocket.
from opentok-web-samples.
@VOctavian Thanks! but the problem is coming from Opentok.js and they are expecting us to call the endpoint directly from their server... This need to be fixed in the code.
+1
from opentok-web-samples.
Please help. I am having the same issue. and editing opentok.js file does not work for me.
from opentok-web-samples.
I found it conflicting with my angular 6 project.
with the JS file
"vendor/pace/pace.min.js",
which is used for automatic page load progress bar.
Don't know whats the problem is but removing this helps me running my Opentok.js.
from opentok-web-samples.
Thanks for the heads up about pace.min.js this made me able to reproduce the issue.
It turns out the issue is that pace.js is overriding the global XMLHttpRequest object here.
We should still be able to work around this issue. It's really bad practice of pace.js though to override globals like that. I have filed a bug for this internally though and we'll work on a fix.
from opentok-web-samples.
Related Issues (20)
- I have a problem in @opentok/client 2.22.1 when subscribing to a stream created
- react-16.2.0.tgz: 5 vulnerabilities (highest severity is: 7.5) - autoclosed HOT 1
- url-parse-1.4.3.tgz: 7 vulnerabilities (highest severity is: 9.8) - autoclosed HOT 1
- electron-2.0.2.tgz: 25 vulnerabilities (highest severity is: 9.9) - autoclosed HOT 1
- react-dom-16.2.0.tgz: 1 vulnerabilities (highest severity is: 6.1) - autoclosed HOT 1
- core-6.1.8.tgz: 1 vulnerabilities (highest severity is: 5.4) - autoclosed HOT 1
- jquery-3.2.1.min.js: 3 vulnerabilities (highest severity is: 6.1) - autoclosed HOT 1
- opentok-react-0.7.0.tgz: 7 vulnerabilities (highest severity is: 9.1) - autoclosed HOT 1
- electron-17.0.0-beta.1.tgz: 5 vulnerabilities (highest severity is: 9.8) - autoclosed HOT 1
- react-scripts-1.0.16.tgz: 97 vulnerabilities (highest severity is: 9.8) - autoclosed HOT 1
- apply background filter to a video call HOT 1
- subscriber.setAudioVolume is not a function
- electron-21.2.2.tgz: 1 vulnerabilities (highest severity is: 5.3) - autoclosed HOT 1
- OT.getDevices() get speakers HOT 1
- Inbound Audio does not work with VOIP sample HOT 3
- vue sample ? HOT 1
- express-4.17.1.tgz: 2 vulnerabilities (highest severity is: 7.5)
- opentok-2.15.1.tgz: 5 vulnerabilities (highest severity is: 9.8)
- Outdated Vonage ML Trasformer Library
- vue3 + opentok
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-web-samples.