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

WebRTC connection #2

Open
okdistribute opened this issue Apr 15, 2021 · 1 comment
Open

WebRTC connection #2

okdistribute opened this issue Apr 15, 2021 · 1 comment
Labels
help wanted Extra attention is needed

Comments

@okdistribute
Copy link
Contributor

okdistribute commented Apr 15, 2021

Use the key to start a webrtc connection. Consider porting from webwormhole.

@okdistribute
Copy link
Contributor Author

okdistribute commented Apr 20, 2021

I looked at this and did a small prototype using the simple-peer package and it was relatively straightforward.

Here's the related code that could be ported to the backchannel class in the current implementation: https://github.com/inkandswitch/backchannel/blob/webrtc/src/backchannel.tsx#L29-L49

We decided this would be a stretch goal and not necessary for a proof of concept demo. Future versions of the application could upgrade to webrtc when available, it would be ideal in the case where the relay is offline or we can't maintain it anymore. Help wanted!

@okdistribute okdistribute reopened this May 13, 2021
@okdistribute okdistribute added the help wanted Extra attention is needed label May 13, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant