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

SessionDescription is NULL #55

Closed
norbertsongin opened this issue Dec 14, 2015 · 2 comments
Closed

SessionDescription is NULL #55

norbertsongin opened this issue Dec 14, 2015 · 2 comments

Comments

@norbertsongin
Copy link

I've used audio/video example from README file in my project and managed to get everything running, however when I rewrote everything to use my node.js + socket.io signaling server there started to be problems. What I'm trying to accomplish is streaming video directly to server, not to other clients.

After sending initial signal message from browser:

socket.on('signal', function(data) {
    simplePeer.signal(data);
});

I'm getting this error on server:

Error: SessionDescription is NULL.

After this, peer connection is closed and I can't go anywhere from there.
I'm using basic configuration on server side:

var SimplePeer = require('simple-peer')
var wrtc = require('wrtc')
var peer = new SimplePeer({ wrtc: wrtc })

Am I doing something wrong in here?

@yocontra
Copy link
Collaborator

@lichwa Can you provide a repo that recreates the issue + a full stack trace?

@feross
Copy link
Owner

feross commented Jan 1, 2016

@lichwa I'm going to close this since it's been 18 days with no reply. If this is still an issue for you, feel free to leave a comment or open a new issue.

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