[vlc-devel] vlc: svn commit r23167 (jpsaman)

Ross Finlayson finlayson at live555.com
Mon Nov 19 15:57:32 CET 2007


>r23167 | jpsaman | 2007-11-19 14:59:57 +0100 (Mon, 19 Nov 2007) | 2 lines
>Changed paths:
>    M /trunk/modules/demux/live555.cpp
>
>Enable RTSP rtpInfo track synchronization in live555 demuxer.
>
>  > http://trac.videolan.org/vlc/changeset/23167

I hope you realize that the "rtpInfo" header information should be 
used to set presentation times *only* for the first few frames of the 
stream - before "rtpSource->hasBeenSynchronizedUsingRTCP()" has been 
set.  Thereafter - to ensure an accurate (RTCP-synchronized) 
presentation time - you should always just use the "pts" value that 
is passed to "StreamRead".

(At some point soon I will be improving the LIVE555 library API to 
add a 'get pts' function that will do this automatically: Use the 
rtpInfo information (+ the RTP header information from the last-read 
frame) initially, until "rtpSource->hasBeenSynchronizedUsingRTCP()" 
is true, and then just use the "StreamRead" "pts" thereafter.  I 
promised this (among other things) to Jean-Paul Saman around the end 
of August, but unfortunately got sidetracked after that :-(
-- 

Ross Finlayson
Live Networks, Inc.
http://www.live555.com/



More information about the vlc-devel mailing list