Skip to content
This repository was archived by the owner on Sep 15, 2025. It is now read-only.
This repository was archived by the owner on Sep 15, 2025. It is now read-only.

Clarify expected behavior in README #88

@David-dp-

Description

@David-dp-

After reading the README, it's not clear to me where the stats will appear...in the browser console, I guessed. To test this, I did:

  1. Downloaded rtcstats.js
  2. Uploaded it to the same folder where my verto js lib files are
  3. Made this the first script execution in my test page: <script src="../js/rtcstats.js"></script>
  4. Made a test call and monitored the browser console

The call went fine (in Chrome72/incognito/Win10), but I didn't see anything new once the peer must have gotten to ice connection state "completed", nor after hangup.

I would expect that I could pass a callback, probably as a listener to iceconnectionstatechange, and that I could inspect the collected, periodic stats that way. If you would explain a bit what to expect, I'll submit a PR for the README to help clarify. Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions