Closed fraserxu closed 10 years ago
Also, I've included attachMediaStream
in the header, and I can get the attachMediaStream
function from the chrome dev tool just as what described in the readme file:
If you're not using browserify or you want AMD support use attachmediastream.bundle.js. Note that if no module system is detected it simply attaches a function called attachMediaStream to window.
But not sure why jingle.js
doesn't work for me.
Not entirely sure what the issue was, but updating browserify and rebuilding the bundle seems to have solved it.
Yes. I just tried to use the raw file from your github repo directly again and no error anymore.
But I don't understand why it doesn't work for me when I build it locally by myself. I'm using browserify 3.0.0
btw.
Hmm, I see. It's because the build script read module from the ./node_modules
folder.
Problem solved, thanks!
Hi @legastero I'm trying to use
jingle.js
in my project, but my app is not using any module system, so I just use thejingle.bundle.js
file and include it in my html header.But when I try to create a new jingle instance with
var jingle = new Jingle()
, it returns me this:Do you have idea about this?