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 Request: AddPeer #59

Open
HughIsaacs2 opened this issue Jul 15, 2020 · 1 comment
Open

Feature Request: AddPeer #59

HughIsaacs2 opened this issue Jul 15, 2020 · 1 comment

Comments

@HughIsaacs2
Copy link

@HughIsaacs2 HughIsaacs2 commented Jul 15, 2020

It'd be awesome if this SDK had a WebTorrent style AddPeer feature for adding peers manually.

It'd be extra awesome if it accepted simple-peer instances too (like WebTorrent) for WebRTC peers.

EDIT: Also removePeer.

@RangerMauve
Copy link
Collaborator

@RangerMauve RangerMauve commented Jul 16, 2020

Ooo, that'd be awesome.

I think it'd be nice to have an API added to corestore-swarm-networking which accepted a duplex stream for connections (there's a private one already), and then expose that API inside the SDK.

From there you could use anything that provides a duplex stream including webrtc based stuff.

PRs would be very much welcome!

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

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.