Hi,
When using webrtcsupport with RequireJS, the browser throws up error:
Uncaught ReferenceError: module is not defined
This is of course because "module" isnt globally available in a browser environment.
Can we add an AMD wrapper so that it can work with multiple envs - commonJS, RequireJS, as vanilla js. I'll try and run this with browserify to see if it can convert it to a UMD js.
Will keep you posted on how that goes.
Hi, When using webrtcsupport with RequireJS, the browser throws up error:
This is of course because "module" isnt globally available in a browser environment. Can we add an AMD wrapper so that it can work with multiple envs - commonJS, RequireJS, as vanilla js. I'll try and run this with browserify to see if it can convert it to a UMD js. Will keep you posted on how that goes.