Get insights into your Mediasoup implementation

Start collecting metrics & craft the best experience for your users Get started for free
+
Mediasoup

Integrating with peer metrics is dead easy

1. Install with npm

npm install @peermetrics/sdk

2. Import and initialize

import { PeerMetrics } from '@peermetrics/sdk'
import * as mediasoupClient from 'mediasoup-client'

// initialize peer metrics
var peerMetrics = new PeerMetrics({
    apiKey: 'your api key',
    userId: '1',
    userName: 'Mary',
    conferenceId: 'room-1',
    conferenceName: 'Call at 4pm',
    appVersion: '1.0.0'
})
await peerMetrics.initialize()

// create the mediasoup device
let device = new mediasoupClient.Device({
    handlerName : this._handlerName
})

// connect the two
peerMetrics.addSdkIntegration({
    mediasoup: {
        device: device, // mandatory, the mediasoupClient.Device() instance
        serverId: '', // string, optional, an ID to indentify the SFU server the user connects to (default: mediasoup-sfu-server)
        serverName: '' // string, optional, a more readable name for this server (default: MediaSoup SFU Server)
    }
})

Create rock solid products

The tool that every team needs to build the perfect WebRTC integration
  • Guess work in product
    Don't leave your development to guess work

    Crafting the perfect product is a challenge on its own. Adding WebRTC in the mix makes it even harder.

    Making sure you and your team have all the data you need to craft the best video/audio calling products.

    See how it works ›
  • Developer relaxing
    Fix problems before they appear

    Even with a perfect product, network conditions change. Make sure you have the tools to adapt and fix problems on the go. Your users will enjoy the seamless experience.

    See how it works ›
  • Happy support team
    Make sure your support team shines

    Your support should never guess what happened. Give them the tool to fix problems in real-time.

    See how it works ›

See what's happening in your calls

Gain insights for your team & craft the best experience for your users Get started for free