The callstats Developer Hub

Welcome to the callstats developer hub. You'll find comprehensive guides and documentation to help you start working with callstats as quickly as possible, as well as support if you get stuck. Let's jump right in!

Guides    API Reference

callstats.js: require.js support

Loading with require.js

Script loading with require.js

The require.js helps load dependencies at the origin server. Below is an example snippet:

<script data-main="YOUR REQUIRE JS CONFIG FILE" src=""></script>

  // 1. define source paths to other dependencies
  paths: {
    //jQuery usage is deprecated from the version 3.10.0 onwards and is deprecated from 3.16.0
    callstats: ""
  shim: {
    'callstats': {
      deps: [],
    'WebRTCApp': {
      deps: ['callstats',... <other dependencies> ...],

// 3. load your main webRTCApp which depends on callstats

Updated 2 years ago

callstats.js: require.js support

Suggested Edits are limited on API Reference Pages

You can only suggest edits to Markdown body content, but not to the API spec.