> I saw the DeviceSource code in live555 project. > I found that the the fPresentationTime would be set by gettimeofday > when doGetNextFrame is called. > I remembered you said the fPresentationTime must be same at the first > time, So how should it sync audio and video?
If the "fPresentationTime" value is accurate, and aligned with 'wall clock time' (the time that you'd get by calling "gettimeofday()"), then audio/video synchronization will happen automatically - see http://www.live555.com/liveMedia/faq.html#separate-rtp-streams Ross Finlayson Live Networks, Inc. http://www.live555.com/
_______________________________________________ live-devel mailing list live-devel@lists.live555.com http://lists.live555.com/mailman/listinfo/live-devel