[Live-devel] Presentation time, multicast and multiple client connections

Ross Finlayson finlayson at live555.com
Fri Jul 8 04:17:50 PDT 2022



> On Jul 8, 2022, at 3:57 AM, DJM-Avalesta <david.myers at avalesta.com> wrote:
> 
> Hi Ross,
> 
> > OK, so we’ve established (again!) that your problem is that your server’s presentation times are not properly aligned with ‘wall clock’ time 
> > (the time that you’d get by calling “gettimeofday()”).  This is necessary because the periodic RTCP “SR” (“Sender Report”) packets - 
> > sent by the server - are used, by receivers, to properly synchronize the stream, and the timestamps in these RTCP “SR” packets are set by calling 
> > “gettimeofday()”.  
> > (Note, BTW, that these RTCP “SR” packets are sent frequently, and do *not* necessarily coincide with the connection of new RTSP clients.)
> 
> 
> So, this RTCP SR logic is calling gettimeofday() and changing fPresentationTime outside of my control?

No, it’s not setting your "fPresentationTime” at all.  Only your code does that.  The "RTCP SR logic” is calling “gettimeofday()” to set the timestamps in RTCP “SR” packets (that are used by clients for proper time synchronization).


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




More information about the live-devel mailing list