Last Updated: 2026-06-03
Under heavy CPU spikes on the host, ffmpeg could not decode incoming RTSP streams fast enough, leading to timestamp gaps. Injecting -use_wallclock_as_timestamps 1 initially caused synchronization drift between audio and video tracks.
The timestamp override was removed in favor of using go2rtc's raw loopback feature. Audio track synchronization issues were mitigated by using go2rtc to align high-resolution streams mapped directly to Home Assistant WebRTC cards.