Today, a short tale of fun mystery-solving. I’ve been working on a project that involves a server dynamically generating audio files and streaming them to a client via a WebRTC session. The dynamic audio generation process works like this: first run a program that generates a wav file. Then compress the .wav to an .ogg which contains an Opus audio stream and deliver it over the network. The WebRTC portion is handled by the awesome Pion library, a pure Golang implementation which makes customizing WebRTC (for example by streaming a dynamically generated audio file) super easy.
No pages have linked to this URL yet.