Git Product home page Git Product logo

Comments (6)

jesup avatar jesup commented on June 24, 2024

I vote for (and have assumed) ms

from webrtc-stats.

jan-ivar avatar jan-ivar commented on June 24, 2024

Since the type is double, I feel the milliseconds for the integer part may be the right resolution.

That seems counter-intuitive to me. Had you said "Since the type is integer", I would have bought ms.

But with floating point, why not just assume the base unit?

FWIW we've implemented jitter and mozRtt since Firefox 30 (both in seconds).

from webrtc-stats.

jan-ivar avatar jan-ivar commented on June 24, 2024

currently the spec is not clear on what the unit for all RTT measurements are. In one place it says (seconds), and for the other no units are presented.

@vr000m The place where it says "seconds" was committed by you on Aug 29, 2014.

The place with no mention of unit was committed by you on Feb 2, 2015.

So for at least 6 months it was consistent. ;-)

from webrtc-stats.

jesup avatar jesup commented on June 24, 2024

I'll revise -- with floating point, seconds makes sense.

from webrtc-stats.

vr000m avatar vr000m commented on June 24, 2024

@jan-ivar, my implementation of STUN-PATH-CHAR draft uses milliseconds, although the spec itself does not say what it should be measured in.

If we have converged on seconds, I'll fix my PR to seconds and move ahead.

from webrtc-stats.

alvestrand avatar alvestrand commented on June 24, 2024

PR #44 (wrong title) will set it to seconds.

from webrtc-stats.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.