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

requestChannel fails to register new data channel initiated from peer #56

Open
jtj02 opened this issue Oct 29, 2015 · 0 comments
Open

Comments

@jtj02
Copy link

jtj02 commented Oct 29, 2015

The callback from requestChannel is never called when the following code is run at either end of a call. The channel:opened callback is never run on the slave side either.

qc.on('call:started', function(peerId) {
   if (qc.isMaster(peerId)) {
        qc.createDataChannel(newChannel);
    } else {
        qc.requestChannel(peerId, newChannel, function() {
            console.log('requestChannel callback fired');
        });
    }
}

qc.on('channel:opened', function(id, dc) {
    console.log('channel opened');
});
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

1 participant