摘要
本文提出了一种在RTP/RTCP协议的基础上实现流媒体同步控制的方法。该方法通过在接收端设置合适大小的缓冲区,实现媒体内的同步;通过以音频流为主媒体流,视频流为从媒体流,结合媒体流在接收端缓冲区的占用率,比较音频帧和视频帧的播放时间戳,对视频帧采取重复/丢弃方式来取得音视频媒体间的同步。实验表明,该种方法既保证单个媒体流的平滑播放,又能实现音视频的媒体间同步。
A control method of streaming media synchronization of audio and video based on RTP/RTCP is presented.This method sets appropriate size receiver buffer to restore intra-media synchronization.With audio as master media stream and video as slave stream,according to the occpuied level of AV receiver buffer,the method makes a comparison between the presentation time stamp of the audio frame and the video frame,then repeat/drop the video frame to achieve audio and video synchronization.Experimental results show ...
出处
《东北电力大学学报》
2010年第2期50-53,共4页
Journal of Northeast Electric Power University