RTMP Audio out of Sync - Dahua IPC-HDW5231R-ZE

Oct 9, 2019
Reaction score
Hello all,

I have my Dahua IPC-HDW5231R-ZE set up to RTMP streaming with Youtube live stream. Video works fine at 50 frames 100 keyframes with very little latency (1 second delay to youtube).

My problem is that audio delay starts to increase from the moment I start the stream. At first, audio delay is unnoticeable. After many hours that delay has increased to multiple seconds while the video delay is unchanged. This results in audio and video out of sync on livestream which is a terrible experience.

I can post screenshots of the config if needed. From memory, my audio settings are AAC with and sampling rate (doesn't change delay problem) and YouTube live settings for ultra-low latency.

Any thoughts or suggestions? Thanks!