If RTT is really small (<1ms, like in a test setup), we might
end up with negative ntprtd value, but less than 1ms, which
we can round to 0. This is normal because timeMs is System.currentTimeMillis(),
so the (im)precision is 1ms at best.
Signed-off-by: Etienne CHAMPETIER <firstname.lastname@example.org>
You can view, comment on, or merge this pull request online at:
-- Commit Summary --
* Rework getRoundTripDelay to reduce 'RTT computation may be wrong'
-- File Changes --
M src/org/jitsi/impl/neomedia/MediaStreamStatsImpl.java (36)
-- Patch Links --
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub: