~/talk

Nerd sniping myself into a rabbit hole. Streaming online audio to a Sonos speaker

Talkat NDC Sydney 2020 · 2020-08-31..09-03· [embedded-and-hardware, networking]
slides:none on file

An Android app is built that actually plays YouTube audio on Sonos by discovering speakers with SSDP broadcast discovery, sniffing traffic with tcpdump on UniFi AP, and reverse‑proxying a streamed conversion from mp4 AAC into ADTS on the phone. Tools used: soco/UPnP SOAP control, mp4parser library, Ktor embedded web server, and fallback experiments with FFmpeg (too slow for long streams). The app repackages samples into ADTS frames on the fly and it works — demos show audio plus artwork and title on the Sonos.

AI-written summary · about

  1. 0:00Start
  2. 4:04Now what...
  3. 7:10Connect to speakers
  4. 7:49Get MP4 URL of online videce
  5. 10:01Send URL to speakers
  6. 11:45Maybe it's that SoCo libras
  7. 12:23Sniffing the network
  8. 15:08SOAP payload
  9. 17:12Maybe it's the MP4 format
  10. 22:06deadfood
  11. 24:31Architecture
  12. 25:27Technology choices
  13. 28:06Research...
  14. 29:27It all starts with a manifest!
  15. 29:57And checking the intent...
  16. 31:42SSDP Simple Device Discovery Protocol
  17. 34:41MP4 to ADTS - FFMpeg?
  18. 36:21MP4, ADTS, Atoms, Boxes
  19. 49:20In summary...
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.