Description
I am using nginx for restreaming. Faced the problem of synchronizing audio and video. The problem manifests itself most of all when broadcasting on twitch.
At some point, the A-V in the statistics becomes positive and may continue to rise over time, while other streams continue to show synchronous A-V ranging from -20 to +20. On the stream, this is expressed in a second freeze of the video or sound and their out of sync. Tried to apply the sync settings and they did not give any results.
Build nginx + rtmp-flv compiled as in the manual:
Generated by nginx-http-flv-module 1.2.10, nginx 1.23.4, pid 10496, built Mar 1 2023 20:49:31 cl
There is enough network bandwidth for broadcasts, I checked it through the "obs rtmp plugin", it has no problems with twitch.
Config file: nginx.conf
part of log: log