Skip to content
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

Issue Error: Invalid call to createOffer #23

Open
jaricek opened this issue Jun 13, 2016 · 3 comments
Open

Issue Error: Invalid call to createOffer #23

jaricek opened this issue Jun 13, 2016 · 3 comments

Comments

@jaricek
Copy link

jaricek commented Jun 13, 2016

Hi,
I have this issue:
root@vm3:~/node_modules/serverless-webrtc# node serverless-webrtc.js --create

/home/jaricek/node_modules/wrtc/lib/peerconnection.js:215
throw new Error('Invalid call to createOffer - function must either have
^
Error: Invalid call to createOffer - function must either have prototype ([config]) or (successCallback, failureCallback, [config]).
at RTCPeerConnection.createOffer (/home/jaricek/node_modules/wrtc/lib/peerconnection.js:215:13)
at makeOffer (/home/jaricek/node_modules/serverless-webrtc/serverless-webrtc.js:145:6)
at Object. (/home/jaricek/node_modules/serverless-webrtc/serverless-webrtc.js:41:3)
at Module._compile (module.js:456:26)
at Object.Module._extensions..js (module.js:474:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Function.Module.runMain (module.js:497:10)
at startup (node.js:119:16)
at node.js:945:3
root@vm3:~/node_modules/serverless-webrtc#

Any idea have I can fix it ? thx

@jaricek
Copy link
Author

jaricek commented Jun 13, 2016

OK, fixed there was problem with version of wrtc.

@kruherson1337
Copy link

What was the problem with version, I am getting same error?

I try using

"wrtc": "~0.0.29"
and
"wrtc": "0.0.61"

and with no luck, to get it working

@lempere
Copy link

lempere commented Sep 9, 2016

@kruherson1337 check this #27

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants