Git Product home page Git Product logo

Comments (8)

taylor-b avatar taylor-b commented on July 3, 2024

As Peter described in Lisbon, we don't really have a fixed consent interval, because for us, "consent checks" serve a double purpose as connectivity checks, and as a way of evaluating the RTT. So we may send them more or less frequently based on the state of the connection.

We still could probably expose some interval in the stats. But it would need to be variable.

from webrtc-stats.

vr000m avatar vr000m commented on July 3, 2024

That interval, although variable would be a sufficient.

Developers will probably query this when the ICE goes to the disconnected state, mainly to determine the duration of loss in connectivity.

from webrtc-stats.

alvestrand avatar alvestrand commented on July 3, 2024

So the useful number would be the interval between the last two connectivity checks sent?

from webrtc-stats.

vr000m avatar vr000m commented on July 3, 2024

Yes. The interval between the last two checks. And perhaps a long term average, sum of intervals should be sufficient as we can divide that by the (total number of checks-1)

from webrtc-stats.

alvestrand avatar alvestrand commented on July 3, 2024

Hm. If connectivity is lost, you won't get duration of loss in connectivity from the interval between the last two checks; both were sent before connectivity was lost.
Two interesting numbers are:

  • Time of last successful check (which places an upper bound on how long connectivity has been lost)
  • Sum and count of intervals

A third interesting number might be the time of the last check sent (which would be a failed one in the case of lost connectivity).

from webrtc-stats.

vr000m avatar vr000m commented on July 3, 2024

These two would work for me.

from webrtc-stats.

alvestrand avatar alvestrand commented on July 3, 2024

will you write the PR to add lastCheck and sumCheckInterval?

from webrtc-stats.

vr000m avatar vr000m commented on July 3, 2024

Yes.
On Tue, 18 Oct 2016 at 15.33, Harald Alvestrand [email protected]
wrote:

will you write the PR to add lastCheck and sumCheckInterval?


You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
#63 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAXVkt5cT3OKYVWEqI-15DuJB3PgTItfks5q1UlBgaJpZM4KEDIS
.

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.