-
-
Notifications
You must be signed in to change notification settings - Fork 964
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error when offer is generated #49
Comments
@shesmovedon that looks like an SDP to me, but I don't see any errors. If you're using the code from the usage example in the readme it should be this line that produces that: console.log('SIGNAL', JSON.stringify(data)) But I don't see |
@maxogden I'm using the code that appears on the example on the readme here, but the .js was "browserified" (that shouldn't matter right?). I still don't know why I'm not getting the offer to copy to my receiver. I replicated the example at this domain http://bkfwieohg.byethost11.com/index.html#1, you can test to see what I'm getting. |
Your example works fine for me. You're probably mixing up the order of events. Try this:
|
I have locally installed simple-peer and I created the html file and bundle.js (using browserify) from the example in the usage section. I'm running the html locally on firefox and internet explorer, but when the offer is supposed to be generated, I get this String in my initiator (firefox):
I made sure simple-peer has all its dependencies on the node_modules folder created by npm. What could be wrong? any help/pointing to an appropriate reading is appreciated. Thanks a lot and have a great day!
The text was updated successfully, but these errors were encountered: