HeadlinesBriefing favicon HeadlinesBriefing.com

MoqBoy streams Game Boy emulation over MoQ protocol

Hacker News •
×

Developer kixelated released MoqBoy, a proof‑of‑concept that streams a Game Boy emulator over the MoQ protocol. The setup runs multiple emulator workers on Texas VMs and fans out audio/video via a single MoQ CDN connection. By aggregating SUBSCRIBE requests, the cloud instance receives only one stream per track, cutting bandwidth and CPU load, and respects Nintendo's IP by only serving homebrew ROMs.

Each viewer’s subscription triggers the encoder only when needed: the Opus audio encoder sleeps without listeners, the H.264 video encoder pauses without viewers, and the whole emulator halts if neither track is subscribed. Even with many concurrent viewers the CPU usage stays under 10% on a typical c5.large instance, saving costs.

Discovery uses MoQ’s live‑broadcast catalog: workers publish under demo/boy/, clients query the prefix and receive notifications when ROMs appear or disappear. Controls are implemented by having each player broadcast a JSON control track, which the main publisher subscribes to, linking the two streams. Rust/JS code can be self‑hosted for experiments. It can replace the emulator with camera feeds, enabling drone prototypes.