Re: [Live-devel] [live555] about NTP/RTP timestamp for rtcp/rtp packets

2020-03-26 Thread Warren Young
On Mar 26, 2020, at 3:36 AM, Zhang Qian(张倩) wrote: > > If user modifies the system time for device, seems it will impact A/V sync > for client. How can I avoid this problem? Have your user switch to calling adjtimex(2) instead: http://man7.org/linux/man-pages/man2/adjtimex.2.html Yes, it’

Re: [Live-devel] [live555] about NTP/RTP timestamp for rtcp/rtp packets

2020-03-26 Thread Ross Finlayson
> On Mar 26, 2020, at 10:36 PM, Zhang Qian(张倩) wrote: > > Hi Ross, > > I found it use gettimeofday (wall-clock time) for NTP/RTP timestamp in > RTCP/RTP packets. If user modifies the system time for device, seems it will > impact A/V sync for client. How can I avoid this problem? You can a

[Live-devel] [live555] about NTP/RTP timestamp for rtcp/rtp packets

2020-03-26 Thread Zhang Qian(张倩)
Hi Ross, I found it use gettimeofday (wall-clock time) for NTP/RTP timestamp in RTCP/RTP packets. If user modifies the system time for device, seems it will impact A/V sync for client. How can I avoid this problem? can I use CLOCK_MONOTONIC time for fPresentationTime and rtp timestamp for rtp p