[Live-devel] Synchronizing Audio and Video streams

Ross Finlayson finlayson at live555.com
Sun Aug 2 20:21:31 PDT 2009


>I am writing an application to stream live Audio and Video via RTSP,
>but am having some trouble synchronizing the two output streams.

This problem is usually caused by not setting properly 
"fPresentationTime" properly in your media source objects.  For both 
audio and video, "fPresentationTime" must be set to a time that is 
aligned with 'wall clock' time - i.e., the time that you would get by 
calling "gettimeofday()".
-- 

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


More information about the live-devel mailing list