- I used UDP to connect P2P through NATed connections. Now there is webrtc data channel. - I used UDP multicast to discover LAN peers. LAN-first is just as important to me as offline-first and mobile-first. This is unsolved! It must work without internet services!
-
-
Replying to @creationix @slightlylate
offline local discovery is the big one for me too. things like libp2p with rtc data channel are cool, but they still require a socket out to the internet to find peers. We really need UDP multicasting.
1 reply 0 retweets 2 likes -
Replying to @monteslu @slightlylate
Exactly. It doesn't even have to be limited to local-only connections. A peer on your network might know other peers across the internet. We could have zero-config bootstrapping in cases where at least one already connected peer (maybe always-on SOC computer) is on the LAN.
1 reply 0 retweets 1 like -
Personally I would much rather purchase a small, under $100, device that I plug-in somewhere than pay (money or sell-privacy) to some cloud provider that might go out of business, leak sensitive data, or be useless because some rain killed the local ISP.
1 reply 0 retweets 1 like -
I especially don't want my home automation / home security systems leaving the LAN unless I expressly request it (upload backups or remote control while I'm out). If I'm home, I should be able to turn a light on without needing internet connection.
2 replies 0 retweets 2 likes -
Replying to @creationix @slightlylate
yup! and these are all problems that have been solved long ago, but haven't made it to the web. We need be able to do an MDNS query to your LAN, find a device, make a TCP connection to whatever device with whatever protocol.
1 reply 0 retweets 0 likes -
Replying to @monteslu @slightlylate
Exactly! Native can do it. Even Chrome Packaged Apps can do it, but web can't.
1 reply 0 retweets 1 like -
Actually, I think that simply adding web mdns would go a long ways to solving this. I'm with speaking websocket to peers on my lan and webrtc to internet peers.
1 reply 0 retweets 2 likes -
Replying to @creationix @slightlylate
still could be problematic on LAN for sockets because you'd need wss:// on the peers if your app is a PWA being delivered over https. Need something to sling the 1k of data for RTC offer/response. I've done it with QR codes and webcams, but not practical :)
1 reply 0 retweets 1 like -
Replying to @monteslu @slightlylate
Not that I would recommend it, but I think web audio might be able to speak over ultrasonic channels. Problems is some kids like my son can hear them. He's not a fan of the chromecast bootstrap process.
1 reply 0 retweets 2 likes
I can still hear those ultrasonic proximity detectors on some doors and they're *super painful*.
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.
& Web Standards TL; Blink API OWNER
Named PWAs w/
DMs open. Tweets my own; press@google.com for official comms.