-
Notifications
You must be signed in to change notification settings - Fork 182
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
Include webrtc package #50
Comments
This is very interesting. So to elaborate for discussion:
@JunichiSugiura have you experimented with something like this in bevy? |
this looks pretty promising as far as sfu goes: https://github.com/algesten/str0m |
another option: https://github.com/johanhelsing/matchbox |
What in your opinion should be a good first milestone on using webrtc in dojo? |
my thinking is we structure this around the Dojo node, it should be the singular point for any dojo client to connect to |
Can you be a bit more specific? not sure to catch you here |
feat: player components
First phase completed in #1459. A new issue may be open for specific need on WebRTC specification that is not covered by this PR. 👍 |
Webrtc is a specification for real time communication.
It supports various audio/video codecs as well as datachannels.
We could use an webrtc to support state channels. It can be used to establish a p2p connection between clients or can be proxied through a sfu for scalability. In SFU mode, we could use SFrame for e2e encryption of the state channel messages.
There is a robust implementation here:
https://github.com/webrtc-rs/webrtc
They have some examples of establishing data channels.
I've previously written a golang sfu at https://github.com/pion/ion-sfu
The text was updated successfully, but these errors were encountered: