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

Can we create a private data channel with a peer? #1359

Closed
norzak opened this issue Apr 24, 2018 · 2 comments
Closed

Can we create a private data channel with a peer? #1359

norzak opened this issue Apr 24, 2018 · 2 comments
Labels

Comments

@norzak
Copy link

@norzak norzak commented Apr 24, 2018

Is it possible to create a private webrtc channel with a specific peer over a specific torrent link? It would be awesome to use webtorrent as a signaling server to establish both data and media communications.

@norzak

This comment has been minimized.

Copy link
Author

@norzak norzak commented Apr 24, 2018

A private torrent may have a flag for allowing a private communication channel with the connecting peers.

@feross

This comment has been minimized.

Copy link
Member

@feross feross commented Apr 26, 2018

You can try to reuse the existing simple-peer (webrtc datachannel) instance by iterating over torrent.wires. But it's probably to implement what you have in mind as a bittorrent-protocol extension. There's a robust extension API that should allow you to send whatever custom messages you desire between peers that support your extension.

@feross feross closed this Apr 26, 2018
@feross feross added the question label Apr 26, 2018
@lock lock bot locked as resolved and limited conversation to collaborators Aug 6, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
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.