← Back to Integrations with 3rd parties

mediasoup demo

Send mediasoup demo traffic to your own rtcstats-server in three steps.

Our rtcstats-js client SDK is now preintegrated with the mediasoup demo. It shows a simple integration path for those using mediasoup and need a WebRTC observability solution for their service.

As of versatica/mediasoup-demo#192, the demo accepts an rtcstatsUrl query parameter and forwards every session to whichever rtcstats-server you point it at. As of rtcstats/rtcstats#241, the rtcstats repo ships a bin/generate-token.js script that mints a signed token and prints the full WebSocket URL you paste into the demo.

It was implemented as a simple hack/workaround to let you experience rtcStats alongside mediasoup.

To get it up and running:

  1. Install rtcstats-server
  2. Direct the demo using rtcstatsUrl query to it

Data will flow to rtcstats-server as expected.

NOTE: Can't get this to work? Need help? mailto:support@rtcstats.com

Was this page helpful?