[Live-devel] scale & timestamps

Matthew Romaine Matthew.Romaine at jp.sony.com
Mon Jan 24 14:03:24 PST 2005


Hi Ross,

Got a question about how timestamps should be handled when RTSP 
trickplay via "Scale:" is used. At the moment, it seems the timestamp 
is unaffected. The RTSP spec defines "scale:" as essentially playing 
the scaled amount of content at the normal viewing rate. Do you take 
this to mean that the timestamps should not be affected?  Wouldn't this 
make syncing on the client end a bit difficult (let alone not being the 
intuitive approach)?

If in fact the timestamp should progress as the scaled rate, is simply a

unsigned uSeconds = fPresentationTime.tv_usec + 
fLastPlayTime*fScaleFactor

sufficient (WAVAudioFileSource.cpp: line 235)?

thanks,
matt




More information about the live-devel mailing list