Series · 2 parts
Housecast: AirPlay for Windows
Building a Windows app that plays the PC's sound on several AirPlay speakers in sync, then replacing its borrowed engine with a native one and making speaker groups show up on an iPhone.
Playing Windows audio on several AirPlay speakers in sync: OwnTone in WSL and a C# tray app
Windows can't send its sound to AirPlay speakers and a browser extension can't either. Here is what AirPlay needs, how I got several speakers playing in step from one PC, and what took the most work.
AirPlay 2 in C#: one clock syncs the speakers, and a relay makes a group show up on an iPhone
How an AirPlay 2 sender and receiver work, from pairing and encrypted audio packets to the shared clock, and how Housecast made a speaker group appear as one speaker on an iPhone.