Hey,
I'm using the SDK with Vuejs and I'm getting the error:
ReferenceError: AdapterJS is not defined at Object.init.
I've done npm install multiple times and still this issue persists. anyone know how to solve?
thanks
Good day.
Please look at Two Way Streaming Vue example (and its source code on GitHub). The example is successfully built and running in our tests.
Try it, if this works, please check your source code.
Hello Max,
On localhost - I dont get this error. but when accessing the site from another computer on the network - I get this error once again.
This happens on the Flashphoner init method.
I compiled this: https://docs.flashphoner.com/display/WEBSDK2EN/Two+Way+Streaming+Vue and when accessing on localhost - works fine. but again - i get the same error when on another pc in the network. I dont get any other information from the error message besides what I wrote.
We built the example form latest available sources according to this manual Building the project and deployed dist folder to an external server. It's working.
Please note that you should open the example built https://yourhost/two-way-streaming-vue/index.html via HTTPS, not HTTP. WebRTC streaming does not work via unsecure HTTP unless you're deploying and opening from localhost. So you have to set up domain and SSL certificate on your web server.