🚀 An ultrasonic adventure!
summary
A laptop-to-laptop link uses WebAudio enabled ultrasounds to carry a serialized SDP/ICE payload and trigger a WebRTC datachannel so two browsers communicate without a relay server. Implementation uses getUserMedia, oscillator and analyser nodes, DTMF-style detection, frequency-modulation plus base conversion to compress the offer. Prototype transmits a reduced offer in around 1 minute round trip in quiet conditions; it works intermittently (speakers/mics and Safari/Edge support limit reliability).
AI-written summary · about
chapters (26)
- 0:00Introduction and motivation
- 2:00Explaining side projects
- 4:13The ultrasonic adventure begins
- 7:51Demo challenges and WebRTC basics
- 9:41Discovering WebRTC data channels
- 10:23What is WebRTC?
- 14:01WebRTC demo with offer and answer
- 15:24Signaling server necessity
- 16:51Local vs. remote networks in WebRTC
- 19:03Learning from side projects
- 20:07WebRTC browser support
- 21:58Quest for serverless communication
- 22:40IP over carrier pigeons
- 23:48Ultrasound experiments with Chromecast
- 24:51Web Audio API basics
- 25:33Building a simple instrument
- 27:44Detecting DTMF tones
- 30:54Web Audio support and Safari issues
- 31:56Signal encoding for ultrasounds
- 32:39Frequency modulation example
- 35:11Live demo attempt with ultrasounds
- 37:59Optimizing message transmission
- 41:36Final ultrasound demo attempt
- 45:56Achieving the round trip goal
- 46:36Value of unfinished side projects
- 47:18Sharing passion through side projects
