We just updated the structure of URLs in the callstats.io dashboard to make linking to a particular conferenceID a lot easier.
Previously the URL did not contain any information about the current app or selections made in the conference view. Using
localStorage to remember these selections limited what we could with the UI. The old dashboard URLs just contained the information regarding the search query, for example, conference ID or if the conferences succeeded or failed. See example below:
Earlier this year, we announced, the support for multiple AppIDs and subsequently a few weeks ago, allowed Basic apps to have more than one appID. A direct outcome of that was to encode the app information into the URL, such as:
Another change that we made this year, was splitting the conference timeline view into multiple tabs from a single page. The tabs visible today are: General, Conference chart, MST charts (similar to the charts in Chrome’s
webrtc-internals), and Application logs.
The four tabs in the conference view
This change prompted us to restructure our dashboard URLs as well, For example, if you are looking at the peer connection conference graph gives a the URL below. This URL you can copy paste and send to your peers, they will see the exact same view as you.
And, just like before, search parameters are added to the end of the URL:
If you have multiple apps: The dashboard URL remembers which app is being used. Especially, when sharing the dashboard URL with peers, everyone will be looking at the same app and context.
The viewing context extends to the conference timeline page, as well. When you switch between debugging different conferences, the viewing context does not reset, and you are presented with the same filters applied to the new conferenceID. To summarise, URL keeps context of the tab and of the chart filter that you were looking at.
Another added benefit is better page refreshing. Earlier, after a page refresh in the conference view the browser would take you back to the general tab.
The URL is accessible in callstats.js.
The conference URL will also be present in the statistics object returned by the
csStatsCallback, discused in a previous blog post. This allows you to know the callstats.io’s dashboard URL (
conferenceURL) in the endpoint, so that you can log it for quick access.
"connectionState":,// one of: online, offline