<p class="img"> I use GStreamer to play UDP video stream, and the streaming end is the screen projection function in Android phones.My GStreamer pipeline is as follows:<br><br>```<br>udpsrc port=1991 caps="application/x-rtp,clock-rate=90000, media=video" ! rtpjitterbuffer latency=200  mode=4 ! rtpmp2tdepay ! tsdemux name=demuxer demuxer. ! queue name=video_ch max-size-buffers=0 max-size-time=0 ! h264parse ! queue name=dec0 max-size-buffers=0 max-size-time=0 ! avdec_h264 max-threads=0 skip-frame=1 output-corrupt=false ! videoconvert n-threads=0 ! autovideosink force-aspect-ratio=false sync=false async=false demuxer. ! queue max-size-buffers=0 max-size-time=0 ! aacparse ! avdec_aac ! audioconvert ! audioresample ! autoaudiosink sync=false  <br>```<br><br>However, the audio and video will be out of sync during the work of this pipeline, and the longer the playing time, the more obvious the audio and video out of sync.But there is no delay.When the `sync` parameter settings of `autovideosink` and `autoaudiosink` are deleted, the audio and video can always be synchronized, but there is a delay of about one second.My GStreamer pipeline is as follows:<br>```<br>udpsrc port=1991 caps="application/x-rtp,clock-rate=90000, media=video" ! rtpjitterbuffer latency=200  mode=4 ! rtpmp2tdepay ! tsdemux name=demuxer demuxer. ! queue name=video_ch max-size-buffers=0 max-size-time=0 ! h264parse ! queue name=dec0 max-size-buffers=0 max-size-time=0 ! avdec_h264 max-threads=0 skip-frame=1 output-corrupt=false ! videoconvert n-threads=0 ! autovideosink force-aspect-ratio=false async=false demuxer. ! queue max-size-buffers=0 max-size-time=0 ! aacparse ! avdec_aac ! audioconvert ! audioresample ! autoaudiosink  <br>```<br><br><br>But when using VLC to play network stream directly rtp://@:1991, the delay of video is very small, which is within the range I can accept, and the audio and video can always be synchronized.<br><br>I don't know if any of my parameters are set incorrectly, or there is a problem with this audio and video synchronization method.<br><br>I urgently need your help.<br><br>Thanks!<br><br><br><br><br><br></p><p class="img"> </p><p class="img"> </p><p class="img"> </p><p class="img"> </p>----<div id="cs2c_mail_sigature"><p></p><p><br></p></div><p></p>