This topic describes how to troubleshoot the problem where audio and video signals are out of synchronization during live streaming.
The audio and video streams during video playback are not synchronized.
The live broadcast process is that the live broadcast center actively pulls streams from the live stream and performs the live broadcast. Currently, the audio and video in the live broadcast are out of synchronization. This phenomenon does exist when you watch the live stream.
Check the stream ingest. If the stream ingest is stable, check whether the audio and video timestamps match during the period when the problem occurs.
You may find that multiple audio frames are skipped during this period, resulting in mismatches between the audio and video timestamps.
Re-ingest the stream. Restart the encoder on the client and check whether the ingested stream is normal. If the ingested stream is normal, an exception occurs to the decoder on the client, resulting in audio frame skipping.
The audio and video frames in the original stream are sequenced in order. The order in which the audio and video frames are appended by the appendBuffer operation determines the order in which they are added for each mode value. Audio and video timestamps are generated automatically for the audio and video frames that observe this order.
Live video streaming