WebRTC audio and video synchronization mechanism

Implementation analysis of WebRTC audio and video synchronization mechanism - Jianshu audio and video synchronization is related to the most intuitive user experience of multimedia products, and is the most basic quality assurance for audio and video media data transmission and rendering playback. If the audio and video are not synchronized, it may cause delays, freezes, etc., which greatly affect the user experience. Therefore, it is very important. One... https://www.jianshu.com/p/3a4d24a71091

WebRTC audio and video synchronization analysis_lincaig's column-CSDN blog_webrtc audio and video synchronization For video on demand or real-time video development, audio and video synchronization is a necessary link. Contents 1. Audio and video synchronization principle 2. On-demand, live video player 3. Real-time video 4. WebRTC audio and video synchronization source code analysis 5. Summary 1. Audio and video synchronization principle Generally speaking, audio and video synchronization is the synchronization of video to audio. When the video is being rendered, each frame of video is adjusted for immediate rendering or delayed rendering according to the timestamp comparison with the audio. For example, there is an audio sequence, their timestamps are A (0, 20, 40, 60,... https://blog.csdn.net/lincaig/article/details/81209895 

RTCP (1): RR--Receiver Reports Receiver Report_sweibd's Column-CSDN Blog RTCP RR format The RTCP type of the receiver report is 201, as shown in Figure 1.1. Figure 1.1 reporter ssrcrr reports the sender's ssrc, that is, the rtp message receiver's own ssrc.reportee ssrcrr reports the receiver's ssrc, that is, the rtp message sender's ssrc.cumulative number of packet lost total number of cumulative packet losses, This field is a 24... https://blog.csdn.net/sweibd/article/details/79335748 

RTCP (2): SR--Sender Reports Receiver Report_sweibd's Column-CSDN Blog 1. Preface The sender of the rtp message sends an SR message to the receiver, the main purpose is to facilitate the receiver to do audio and video synchronization. 2. The sender reports SR in RTCP SR format, and its RTCP type payload type is 200. The main information is 24bytes, which is 6 words, as shown in Figure 2.1 Figure 2.12.1 NTP timestampNTP timestamp... https://blog.csdn.net/sweibd/article/details/79344509 

Guess you like

Origin blog.csdn.net/qq_31231915/article/details/122752936