message-io icon indicating copy to clipboard operation
message-io copied to clipboard

Add a WebRTC adapter

Open lemunozm opened this issue 3 years ago • 4 comments

In order to complete the web support it is needed to add a WebRTC adapter.

The list of candidates are:

  • webrtc Seems official but in alpha stage?
  • webrtc-unreliable: It's a part of the standard but seems more stable.
  • web-sys seems to have support: https://rustwasm.github.io/docs/wasm-bindgen/examples/webrtc_datachannel.html

The only requirement is that the library allows using non-blocking with mio support.

lemunozm avatar Mar 11 '21 10:03 lemunozm

I would also like webrtc for p2p games.

entropylost avatar Jun 18 '21 00:06 entropylost

Also I think the webrtc crate seems to be a server-side implementation of webrtc, not bindings to one for the web, so maybe both are necessary?

entropylost avatar Jun 18 '21 01:06 entropylost

Hi @iMplode-nZ,

I do not know webRTC in-depth, so for this feature, I will need some help from contributors or make time to analyze how it works before.

At this moment I can not answer your question with some "veracity", sorry :(

lemunozm avatar Jun 21 '21 10:06 lemunozm

Edit: Turns out I don't need webrtc.

entropylost avatar Jun 21 '21 16:06 entropylost