Get insights into your Twilio implementation

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

Integrating with peer metrics is dead easy

1. Install with npm

npm install @peermetrics/sdk

2. Import and initialize

peer metrics works with V2 of the Twilio Video SDK

import { PeerMetrics } from '@peermetrics/sdk'
import Video from 'twilio-video'

// 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()

// initialize Twilio
Video.connect('$TOKEN', { name: 'room-name' }).then(room => {
    // connect the two
    peerMetrics.addSdkIntegration({
        twilioVideo: {
            room: room, // mandatory, the twilio video Room instance
        }
    })
})

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