All Products
Search
Document Center

:What can I do if audio and video signals are out of synchronization during live streaming?

Last Updated:Sep 30, 2025

Overview

This topic describes how to troubleshoot the problem where audio and video signals are out of synchronization during live streaming.

Problem description

Audio and video signals are out of synchronization during live streaming.

Solution

  1. Ingest a stream to an edge node for live streaming. Sometimes, audio and video signals are out of synchronization during live streaming.
  2. 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.
  3. You may find that multiple audio frames are skipped during this period, resulting in mismatches between the audio and video timestamps.
  4. 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.
  5. 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 automatically generated for the audio and video frames that observe this order.

Applicable scope

  • Live streaming