Skip to content

rtpjitterbuffer: Improve accuracy of RFC7273 clock time calculations

Previously the result of the calculations included inaccuracies caused by the NTP clock estimation, which caused the timestamps to jitter +/- 1/clockrate.

By reorganizing the calculations it is possible to get rid of this inaccuracy and calculate deterministic and exact packet timestamps based on the actual NTP clock as long as the estimation is not off by more than 2**31 clockrate units.

The only remaining inaccuracy that is introduced now is caused by the conversion from the NTP clock to the pipeline clock.

Also split up debug output, demote many messages to the trace debug level and output more intermediate results.

Merge request reports