Hi Everyone,
Been going through the documentation and the repo over the last few days and I must say this a really well flushed set up, I appreciate all the hard work that has gone into this.
I am trying to set up a frontend for a Janus room. I'm using the javascript API and have generated an ES6 Module as recommend by the documentation. I have several odd behaviours when trying to initialise the Janus object.
1. First I get an error for "ReferenceError: adapter is not defined"
2. If I change the dependencies to use an empty object I get init not defined (kinda makes sense)
3. if I pass a webrtc adapter object that is imported from the npm package to dependencies object, I get the same "TypeError: Cannot read property 'init' of undefined"
How do I import and initialise this, do I need to bring in extra deps? how and what?
Hope you can help, thanks,
Jed