4 ms·
# WebRTC P2P communication (data, video and audio). Almost ready except for safari. # WebBluetooth Very experimental but some of the demo projects are really
by rawnlq 10y ago
# WebRTC
P2P communication (data, video and audio). Almost ready except for safari.
# WebBluetooth
Very experimental but some of the demo projects are really cool (control an AR drone quadcopter from a webpage).
- errantspark 10y agoOh yeah, WebRTC! I forgot that one. I wrote a little multiplayer hovercraft racing game using WebRTC via peer.js last year. Super fun to explore programming networked systems in js.
- Already__Taken 10y agoIs there any way to do this without a central server coordinating the peer connections? I'd love to host something off a static site but I've not figured anything out yet.
- stymaar 10y agoYou need something for the signaling part (sending the WebRTC offer, answer and ICE candidates to establish the connection). It's not necessarily a «central server», if you can convince you users to send each other the info text-encoded via Facebook or any messaging system, it will technically work (but it won't be really ergonomic for you users ;). I wonder if some people provide a SaaS solution for webRTC signaling. Quick survey: would you be willing to pay for it ?
- Already__Taken 10y agoMy specific thing was somebody asked for a demo of a heatmap, I knocked up a page that heat mapped the pointer and wanted every user to aggregate to the map. So no for such a demo I probably wouldn't be coughing up.
- stymaar 10y agoFor a demo you can just code a 20-lines signaling server using websocket with nodejs or anything.
- 0XAFFE 10y agoWebRTC is realy cool, but does not work in Safari. Did cost us quite some time in a project.
- stymaar 10y ago> Almost ready except for safari. Unfortunately, that's not that simple. First of all, Edge doesn't implement the dataChannels, and FF and Chrome implements a slightly different version of the spec[1] (and neither implement the latest one) and things still break from time to time :(. [1]: fortunately, it's still compatible with each other, but the API as a few little differences that varies over time.