On Thu, Jan 30, 2014 at 09:01:34PM +0100, Jacob Erlbeck wrote:
Hi jacob!
This patch changes get_current_ts() to accept the
desired rate as
argument and to use it for the time conversion instead of always
converting to microseconds. If microseconds are needed,
get_current_ts(1000) can be used.
The arrival_time is now measured in 1/rtp_end->rate seconds so that
it can be directly compared to RTP timestamps as required by RFC3550
(section 6.4.1, see definition of 'interarrival jitter').
thanks for spotting this issue while working on related code. I am
embarassed. It appears that the transmit time was already drifting
apart.