[PATCH 3/5] mgcp/rtp: Fix transit computation units

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/OpenBSC@lists.osmocom.org/.

Holger Hans Peter Freyther holger at freyther.de
Fri Jan 31 10:36:34 UTC 2014


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.





More information about the OpenBSC mailing list