webRTC- not getting stream and ice candidates from other peer
I am working on a video call app using webRTC and socket.io. I had a look at other projects like this and am trying to implement those my own.
The first peer creates offer and the other peer gets the offer and saves it to its remote decription and creates answer which is recieved by the first peer. But the ice candidates are not exchanged and also the stream.
Here is the client-side code:
var socket = io();
var peerConn,
onlineUsers = ,
username,
caller;
function createOffer(callee)
peerConn = new RTCPeerConnection();
peerConn.onicecandidate = onIce;
peerConn.onaddstream = onAddStream;
navigator.mediaDevices
.getUserMedia( audio: true, video: height: 240, width: 320 )
.then(stream => (window.myVideo.srcObject = stream))
.then(stream => peerConn.addStream(stream));
peerConn.createOffer().then(offer =>
peerConn.setLocalDescription(offer);
socket.emit("call", callee, peerConn.localDescription);
);
caller = callee;
socket.on("call", (callee, caller, sdp) =>
if (callee == username) createAnswer(sdp, caller);
);
function createAnswer(sdp, caller)
peerConn = new RTCPeerConnection();
peerConn.onicecandidate = onIce;
peerConn.onaddstream = onAddStream;
window.caller = caller;
navigator.mediaDevices
.getUserMedia( audio: true, video: height: 240, width: 320 )
.then(stream => (window.myVideo.srcObject = stream))
.then(stream => peerConn.addStream(stream));
peerConn.setRemoteDescription(new RTCSessionDescription(sdp));
peerConn.createAnswer().then(answer =>
peerConn.setLocalDescription(answer);
socket.emit("answer", caller, peerConn.localDescription);
);
console.log(peerConn.localDescription);
console.log(peerConn.remoteDescription);
function onIce(event)
if (event.candidate)
socket.emit("ice", caller, event.candidate);
console.log("sent ice");
else
console.log("Sent all ice");
function onAddStream(event)
console.log("remote stream added");
frndsVideo.srcObject = event.stream;
socket.on("answer", (callee, caller, sdp) =>
if (caller == username) setRemoteDes(sdp);
);
function setRemoteDes(sdp)
peerConn.setRemoteDescription(sdp);
console.log(peerConn.localDescription);
console.log(peerConn.remoteDescription);
function addIce(caller, callee, ice)
peerConn.addIceCandidate(new RTCIceCandidate(ice));
console.log("ice added");
socket.on("ice", addIce);
And the server-side js code:
socket.on("call", (callee, sdp) =>
console.log(`$socket.username calling $callee $sdp`);
onlineUsers.forEach((user, i) => user.username == socket.username)
onlineUsers[i].inCall = true;
);
socket.broadcast.emit(`call`, callee, socket.username, sdp);
);
socket.on("answer", (caller, sdp) =>
console.log(`$socket.username answered $caller $sdp`);
socket.broadcast.emit("answer", socket.username, caller, sdp);
);
socket.on("ice", (caller, ice) =>
socket.broadcast.emit("ice", socket.username, caller, ice);
console.log("ice recived and sent");
);
Please help me with this.
javascript node.js socket.io webrtc
add a comment |
I am working on a video call app using webRTC and socket.io. I had a look at other projects like this and am trying to implement those my own.
The first peer creates offer and the other peer gets the offer and saves it to its remote decription and creates answer which is recieved by the first peer. But the ice candidates are not exchanged and also the stream.
Here is the client-side code:
var socket = io();
var peerConn,
onlineUsers = ,
username,
caller;
function createOffer(callee)
peerConn = new RTCPeerConnection();
peerConn.onicecandidate = onIce;
peerConn.onaddstream = onAddStream;
navigator.mediaDevices
.getUserMedia( audio: true, video: height: 240, width: 320 )
.then(stream => (window.myVideo.srcObject = stream))
.then(stream => peerConn.addStream(stream));
peerConn.createOffer().then(offer =>
peerConn.setLocalDescription(offer);
socket.emit("call", callee, peerConn.localDescription);
);
caller = callee;
socket.on("call", (callee, caller, sdp) =>
if (callee == username) createAnswer(sdp, caller);
);
function createAnswer(sdp, caller)
peerConn = new RTCPeerConnection();
peerConn.onicecandidate = onIce;
peerConn.onaddstream = onAddStream;
window.caller = caller;
navigator.mediaDevices
.getUserMedia( audio: true, video: height: 240, width: 320 )
.then(stream => (window.myVideo.srcObject = stream))
.then(stream => peerConn.addStream(stream));
peerConn.setRemoteDescription(new RTCSessionDescription(sdp));
peerConn.createAnswer().then(answer =>
peerConn.setLocalDescription(answer);
socket.emit("answer", caller, peerConn.localDescription);
);
console.log(peerConn.localDescription);
console.log(peerConn.remoteDescription);
function onIce(event)
if (event.candidate)
socket.emit("ice", caller, event.candidate);
console.log("sent ice");
else
console.log("Sent all ice");
function onAddStream(event)
console.log("remote stream added");
frndsVideo.srcObject = event.stream;
socket.on("answer", (callee, caller, sdp) =>
if (caller == username) setRemoteDes(sdp);
);
function setRemoteDes(sdp)
peerConn.setRemoteDescription(sdp);
console.log(peerConn.localDescription);
console.log(peerConn.remoteDescription);
function addIce(caller, callee, ice)
peerConn.addIceCandidate(new RTCIceCandidate(ice));
console.log("ice added");
socket.on("ice", addIce);
And the server-side js code:
socket.on("call", (callee, sdp) =>
console.log(`$socket.username calling $callee $sdp`);
onlineUsers.forEach((user, i) => user.username == socket.username)
onlineUsers[i].inCall = true;
);
socket.broadcast.emit(`call`, callee, socket.username, sdp);
);
socket.on("answer", (caller, sdp) =>
console.log(`$socket.username answered $caller $sdp`);
socket.broadcast.emit("answer", socket.username, caller, sdp);
);
socket.on("ice", (caller, ice) =>
socket.broadcast.emit("ice", socket.username, caller, ice);
console.log("ice recived and sent");
);
Please help me with this.
javascript node.js socket.io webrtc
add a comment |
I am working on a video call app using webRTC and socket.io. I had a look at other projects like this and am trying to implement those my own.
The first peer creates offer and the other peer gets the offer and saves it to its remote decription and creates answer which is recieved by the first peer. But the ice candidates are not exchanged and also the stream.
Here is the client-side code:
var socket = io();
var peerConn,
onlineUsers = ,
username,
caller;
function createOffer(callee)
peerConn = new RTCPeerConnection();
peerConn.onicecandidate = onIce;
peerConn.onaddstream = onAddStream;
navigator.mediaDevices
.getUserMedia( audio: true, video: height: 240, width: 320 )
.then(stream => (window.myVideo.srcObject = stream))
.then(stream => peerConn.addStream(stream));
peerConn.createOffer().then(offer =>
peerConn.setLocalDescription(offer);
socket.emit("call", callee, peerConn.localDescription);
);
caller = callee;
socket.on("call", (callee, caller, sdp) =>
if (callee == username) createAnswer(sdp, caller);
);
function createAnswer(sdp, caller)
peerConn = new RTCPeerConnection();
peerConn.onicecandidate = onIce;
peerConn.onaddstream = onAddStream;
window.caller = caller;
navigator.mediaDevices
.getUserMedia( audio: true, video: height: 240, width: 320 )
.then(stream => (window.myVideo.srcObject = stream))
.then(stream => peerConn.addStream(stream));
peerConn.setRemoteDescription(new RTCSessionDescription(sdp));
peerConn.createAnswer().then(answer =>
peerConn.setLocalDescription(answer);
socket.emit("answer", caller, peerConn.localDescription);
);
console.log(peerConn.localDescription);
console.log(peerConn.remoteDescription);
function onIce(event)
if (event.candidate)
socket.emit("ice", caller, event.candidate);
console.log("sent ice");
else
console.log("Sent all ice");
function onAddStream(event)
console.log("remote stream added");
frndsVideo.srcObject = event.stream;
socket.on("answer", (callee, caller, sdp) =>
if (caller == username) setRemoteDes(sdp);
);
function setRemoteDes(sdp)
peerConn.setRemoteDescription(sdp);
console.log(peerConn.localDescription);
console.log(peerConn.remoteDescription);
function addIce(caller, callee, ice)
peerConn.addIceCandidate(new RTCIceCandidate(ice));
console.log("ice added");
socket.on("ice", addIce);
And the server-side js code:
socket.on("call", (callee, sdp) =>
console.log(`$socket.username calling $callee $sdp`);
onlineUsers.forEach((user, i) => user.username == socket.username)
onlineUsers[i].inCall = true;
);
socket.broadcast.emit(`call`, callee, socket.username, sdp);
);
socket.on("answer", (caller, sdp) =>
console.log(`$socket.username answered $caller $sdp`);
socket.broadcast.emit("answer", socket.username, caller, sdp);
);
socket.on("ice", (caller, ice) =>
socket.broadcast.emit("ice", socket.username, caller, ice);
console.log("ice recived and sent");
);
Please help me with this.
javascript node.js socket.io webrtc
I am working on a video call app using webRTC and socket.io. I had a look at other projects like this and am trying to implement those my own.
The first peer creates offer and the other peer gets the offer and saves it to its remote decription and creates answer which is recieved by the first peer. But the ice candidates are not exchanged and also the stream.
Here is the client-side code:
var socket = io();
var peerConn,
onlineUsers = ,
username,
caller;
function createOffer(callee)
peerConn = new RTCPeerConnection();
peerConn.onicecandidate = onIce;
peerConn.onaddstream = onAddStream;
navigator.mediaDevices
.getUserMedia( audio: true, video: height: 240, width: 320 )
.then(stream => (window.myVideo.srcObject = stream))
.then(stream => peerConn.addStream(stream));
peerConn.createOffer().then(offer =>
peerConn.setLocalDescription(offer);
socket.emit("call", callee, peerConn.localDescription);
);
caller = callee;
socket.on("call", (callee, caller, sdp) =>
if (callee == username) createAnswer(sdp, caller);
);
function createAnswer(sdp, caller)
peerConn = new RTCPeerConnection();
peerConn.onicecandidate = onIce;
peerConn.onaddstream = onAddStream;
window.caller = caller;
navigator.mediaDevices
.getUserMedia( audio: true, video: height: 240, width: 320 )
.then(stream => (window.myVideo.srcObject = stream))
.then(stream => peerConn.addStream(stream));
peerConn.setRemoteDescription(new RTCSessionDescription(sdp));
peerConn.createAnswer().then(answer =>
peerConn.setLocalDescription(answer);
socket.emit("answer", caller, peerConn.localDescription);
);
console.log(peerConn.localDescription);
console.log(peerConn.remoteDescription);
function onIce(event)
if (event.candidate)
socket.emit("ice", caller, event.candidate);
console.log("sent ice");
else
console.log("Sent all ice");
function onAddStream(event)
console.log("remote stream added");
frndsVideo.srcObject = event.stream;
socket.on("answer", (callee, caller, sdp) =>
if (caller == username) setRemoteDes(sdp);
);
function setRemoteDes(sdp)
peerConn.setRemoteDescription(sdp);
console.log(peerConn.localDescription);
console.log(peerConn.remoteDescription);
function addIce(caller, callee, ice)
peerConn.addIceCandidate(new RTCIceCandidate(ice));
console.log("ice added");
socket.on("ice", addIce);
And the server-side js code:
socket.on("call", (callee, sdp) =>
console.log(`$socket.username calling $callee $sdp`);
onlineUsers.forEach((user, i) => user.username == socket.username)
onlineUsers[i].inCall = true;
);
socket.broadcast.emit(`call`, callee, socket.username, sdp);
);
socket.on("answer", (caller, sdp) =>
console.log(`$socket.username answered $caller $sdp`);
socket.broadcast.emit("answer", socket.username, caller, sdp);
);
socket.on("ice", (caller, ice) =>
socket.broadcast.emit("ice", socket.username, caller, ice);
console.log("ice recived and sent");
);
Please help me with this.
javascript node.js socket.io webrtc
javascript node.js socket.io webrtc
asked Nov 13 '18 at 2:27
Shivam KumarShivam Kumar
556
556
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
Run it in Firefox, and you'll see this error:
InvalidStateError: Cannot create offer when there are no valid transceivers.
You're calling createOffer
before addStream
, which produces an empty offer and no candidates.
You're also using peerConn.localDescription
before setLocalDescription
has finished.
These are asynchronous methods that need to run in sequence, not in parallel. Try chaining them:
function createOffer(callee)
peerConn = new RTCPeerConnection();
peerConn.onicecandidate = onIce;
peerConn.onaddstream = onAddStream;
navigator.mediaDevices
.getUserMedia(audio: true, video: height: 240, width: 320)
.then(stream =>
peerConn.addStream(myVideo.srcObject = stream);
return peerConn.createOffer();
)
.then(offer => peerConn.setLocalDescription(offer))
.then(() => socket.emit("call", callee, peerConn.localDescription))
.catch(e => console.log(e));
caller = callee;
Furthermore, on the answering side, never delay calling setRemoteDescription
or you risk missing candidates. This is time sensitive, as I explain in another answer.
function createAnswer(sdp, caller)
peerConn = new RTCPeerConnection();
peerConn.onicecandidate = onIce;
peerConn.onaddstream = onAddStream;
window.caller = caller;
peerConn.setRemoteDescription(sdp)
.then(() => navigator.mediaDevices
.getUserMedia(audio: true, video: height: 240, width: 320))
.then(stream =>
peerConn.addStream(myVideo.srcObject = stream);
return peerConn.createAnswer();
)
.then(answer => peerConn.setLocalDescription(answer))
.then(() => socket.emit("answer", caller, peerConn.localDescription))
.catch(e => console.log(e));
Also see my comments onaddStream
andonaddstream
in this other answer.
– jib
Nov 13 '18 at 5:16
Thanks jib for the help... It worked.
– Shivam Kumar
Nov 13 '18 at 5:29
add a comment |
Your Answer
StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53272895%2fwebrtc-not-getting-stream-and-ice-candidates-from-other-peer%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
Run it in Firefox, and you'll see this error:
InvalidStateError: Cannot create offer when there are no valid transceivers.
You're calling createOffer
before addStream
, which produces an empty offer and no candidates.
You're also using peerConn.localDescription
before setLocalDescription
has finished.
These are asynchronous methods that need to run in sequence, not in parallel. Try chaining them:
function createOffer(callee)
peerConn = new RTCPeerConnection();
peerConn.onicecandidate = onIce;
peerConn.onaddstream = onAddStream;
navigator.mediaDevices
.getUserMedia(audio: true, video: height: 240, width: 320)
.then(stream =>
peerConn.addStream(myVideo.srcObject = stream);
return peerConn.createOffer();
)
.then(offer => peerConn.setLocalDescription(offer))
.then(() => socket.emit("call", callee, peerConn.localDescription))
.catch(e => console.log(e));
caller = callee;
Furthermore, on the answering side, never delay calling setRemoteDescription
or you risk missing candidates. This is time sensitive, as I explain in another answer.
function createAnswer(sdp, caller)
peerConn = new RTCPeerConnection();
peerConn.onicecandidate = onIce;
peerConn.onaddstream = onAddStream;
window.caller = caller;
peerConn.setRemoteDescription(sdp)
.then(() => navigator.mediaDevices
.getUserMedia(audio: true, video: height: 240, width: 320))
.then(stream =>
peerConn.addStream(myVideo.srcObject = stream);
return peerConn.createAnswer();
)
.then(answer => peerConn.setLocalDescription(answer))
.then(() => socket.emit("answer", caller, peerConn.localDescription))
.catch(e => console.log(e));
Also see my comments onaddStream
andonaddstream
in this other answer.
– jib
Nov 13 '18 at 5:16
Thanks jib for the help... It worked.
– Shivam Kumar
Nov 13 '18 at 5:29
add a comment |
Run it in Firefox, and you'll see this error:
InvalidStateError: Cannot create offer when there are no valid transceivers.
You're calling createOffer
before addStream
, which produces an empty offer and no candidates.
You're also using peerConn.localDescription
before setLocalDescription
has finished.
These are asynchronous methods that need to run in sequence, not in parallel. Try chaining them:
function createOffer(callee)
peerConn = new RTCPeerConnection();
peerConn.onicecandidate = onIce;
peerConn.onaddstream = onAddStream;
navigator.mediaDevices
.getUserMedia(audio: true, video: height: 240, width: 320)
.then(stream =>
peerConn.addStream(myVideo.srcObject = stream);
return peerConn.createOffer();
)
.then(offer => peerConn.setLocalDescription(offer))
.then(() => socket.emit("call", callee, peerConn.localDescription))
.catch(e => console.log(e));
caller = callee;
Furthermore, on the answering side, never delay calling setRemoteDescription
or you risk missing candidates. This is time sensitive, as I explain in another answer.
function createAnswer(sdp, caller)
peerConn = new RTCPeerConnection();
peerConn.onicecandidate = onIce;
peerConn.onaddstream = onAddStream;
window.caller = caller;
peerConn.setRemoteDescription(sdp)
.then(() => navigator.mediaDevices
.getUserMedia(audio: true, video: height: 240, width: 320))
.then(stream =>
peerConn.addStream(myVideo.srcObject = stream);
return peerConn.createAnswer();
)
.then(answer => peerConn.setLocalDescription(answer))
.then(() => socket.emit("answer", caller, peerConn.localDescription))
.catch(e => console.log(e));
Also see my comments onaddStream
andonaddstream
in this other answer.
– jib
Nov 13 '18 at 5:16
Thanks jib for the help... It worked.
– Shivam Kumar
Nov 13 '18 at 5:29
add a comment |
Run it in Firefox, and you'll see this error:
InvalidStateError: Cannot create offer when there are no valid transceivers.
You're calling createOffer
before addStream
, which produces an empty offer and no candidates.
You're also using peerConn.localDescription
before setLocalDescription
has finished.
These are asynchronous methods that need to run in sequence, not in parallel. Try chaining them:
function createOffer(callee)
peerConn = new RTCPeerConnection();
peerConn.onicecandidate = onIce;
peerConn.onaddstream = onAddStream;
navigator.mediaDevices
.getUserMedia(audio: true, video: height: 240, width: 320)
.then(stream =>
peerConn.addStream(myVideo.srcObject = stream);
return peerConn.createOffer();
)
.then(offer => peerConn.setLocalDescription(offer))
.then(() => socket.emit("call", callee, peerConn.localDescription))
.catch(e => console.log(e));
caller = callee;
Furthermore, on the answering side, never delay calling setRemoteDescription
or you risk missing candidates. This is time sensitive, as I explain in another answer.
function createAnswer(sdp, caller)
peerConn = new RTCPeerConnection();
peerConn.onicecandidate = onIce;
peerConn.onaddstream = onAddStream;
window.caller = caller;
peerConn.setRemoteDescription(sdp)
.then(() => navigator.mediaDevices
.getUserMedia(audio: true, video: height: 240, width: 320))
.then(stream =>
peerConn.addStream(myVideo.srcObject = stream);
return peerConn.createAnswer();
)
.then(answer => peerConn.setLocalDescription(answer))
.then(() => socket.emit("answer", caller, peerConn.localDescription))
.catch(e => console.log(e));
Run it in Firefox, and you'll see this error:
InvalidStateError: Cannot create offer when there are no valid transceivers.
You're calling createOffer
before addStream
, which produces an empty offer and no candidates.
You're also using peerConn.localDescription
before setLocalDescription
has finished.
These are asynchronous methods that need to run in sequence, not in parallel. Try chaining them:
function createOffer(callee)
peerConn = new RTCPeerConnection();
peerConn.onicecandidate = onIce;
peerConn.onaddstream = onAddStream;
navigator.mediaDevices
.getUserMedia(audio: true, video: height: 240, width: 320)
.then(stream =>
peerConn.addStream(myVideo.srcObject = stream);
return peerConn.createOffer();
)
.then(offer => peerConn.setLocalDescription(offer))
.then(() => socket.emit("call", callee, peerConn.localDescription))
.catch(e => console.log(e));
caller = callee;
Furthermore, on the answering side, never delay calling setRemoteDescription
or you risk missing candidates. This is time sensitive, as I explain in another answer.
function createAnswer(sdp, caller)
peerConn = new RTCPeerConnection();
peerConn.onicecandidate = onIce;
peerConn.onaddstream = onAddStream;
window.caller = caller;
peerConn.setRemoteDescription(sdp)
.then(() => navigator.mediaDevices
.getUserMedia(audio: true, video: height: 240, width: 320))
.then(stream =>
peerConn.addStream(myVideo.srcObject = stream);
return peerConn.createAnswer();
)
.then(answer => peerConn.setLocalDescription(answer))
.then(() => socket.emit("answer", caller, peerConn.localDescription))
.catch(e => console.log(e));
answered Nov 13 '18 at 4:44
jibjib
20.7k64389
20.7k64389
Also see my comments onaddStream
andonaddstream
in this other answer.
– jib
Nov 13 '18 at 5:16
Thanks jib for the help... It worked.
– Shivam Kumar
Nov 13 '18 at 5:29
add a comment |
Also see my comments onaddStream
andonaddstream
in this other answer.
– jib
Nov 13 '18 at 5:16
Thanks jib for the help... It worked.
– Shivam Kumar
Nov 13 '18 at 5:29
Also see my comments on
addStream
and onaddstream
in this other answer.– jib
Nov 13 '18 at 5:16
Also see my comments on
addStream
and onaddstream
in this other answer.– jib
Nov 13 '18 at 5:16
Thanks jib for the help... It worked.
– Shivam Kumar
Nov 13 '18 at 5:29
Thanks jib for the help... It worked.
– Shivam Kumar
Nov 13 '18 at 5:29
add a comment |
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53272895%2fwebrtc-not-getting-stream-and-ice-candidates-from-other-peer%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown