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

Feature: Unreliable DataChannels #57

Closed
kumavis opened this issue Dec 27, 2015 · 6 comments
Closed

Feature: Unreliable DataChannels #57

kumavis opened this issue Dec 27, 2015 · 6 comments

Comments

@kumavis
Copy link
Contributor

kumavis commented Dec 27, 2015

I'm looking to use webRTC to create a pair of RTCDataChannels per peer:

  • tcp-like { reliable: true, ordered: true } transport
  • udp-like { reliable: false, ordered: false } transport

This may be out of the scope of simple-peer but is there a simple way of creating additional dataChannels for a peer?

@kumavis
Copy link
Contributor Author

kumavis commented Dec 27, 2015

reading through the source a bit more, seems like the data channel and the peer are closely coupled

@feross
Copy link
Owner

feross commented Dec 27, 2015

There's already an issue open for supporting creating additional data channels: #19

For starters, we could support unreliable data channels.

@kumavis
Copy link
Contributor Author

kumavis commented Dec 27, 2015

cool - i'll close this as a duplicate

@kumavis kumavis closed this as completed Dec 27, 2015
@feross
Copy link
Owner

feross commented Dec 27, 2015

So you don't need unreliable channels?

@kumavis
Copy link
Contributor Author

kumavis commented Dec 28, 2015

I do, but I feel like this issue falls cleanly under #19. I think you already support unreliable data channels via setting channelConfig.

@feross
Copy link
Owner

feross commented Dec 28, 2015

Yep, that's right.

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

2 participants