[Live-devel] Regarding the timestamp of device source

Ross Finlayson finlayson at live555.com
Mon Dec 23 16:15:00 PST 2013


> 	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/

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20131224/8f49d296/attachment.html>


More information about the live-devel mailing list