Fixing crackling, desynced, and missing surround audio
Crackling audio, no sound, A/V drift, or surround collapsed to stereo when streaming? The usual causes — routing, sample rates, clocks, downmix — and how punktfunk keeps audio clean and in sync.
Video looks great, but the audio crackles, drops out, drifts out of sync, or your 5.1 setup collapses to stereo. Audio is the quietly hard part of game streaming. Here's what tends to go wrong, and how punktfunk approaches it.
Why streamed audio breaks
- Capture routing — on Linux, PulseAudio/PipeWire can hand you the wrong sink, or a wedged capture link head-blocks the whole audio graph.
- Sample-rate mismatch — 48 kHz vs 44.1 kHz somewhere in the chain produces clicks and crackle.
- A/V sync drift — audio and video on separate clocks slowly walk apart, especially host-to-client across machines.
- Surround downmix — 5.1/7.1 quietly collapses to stereo, or surround breaks up under packet loss.
How punktfunk handles audio
punktfunk captures audio as Opus at 48 kHz and carries it on its own plane alongside the video, demuxed per packet. A few things keep it clean:
- Sync to the video clock — and a wall-clock skew handshake (NTP-style rounds at session start) aligns the client to the host clock, so A/V sync stays valid even host-to-client across different machines.
- PipeWire consumer discipline — capture streams set
node.dont-reconnectand tear down promptly on timeout, so one stuck link can't head-block the daemon's shared work queue. - Surround support — multichannel audio is carried with the same GF(2¹⁶) FEC as everything else, so it survives loss instead of crackling.
Try it
If audio crackle and sync drift have been the weak link in your stream, punktfunk treats audio as a first-class plane, not an afterthought. See how it stacks up in the best self-hosted game streaming setups in 2026.