Get insights into your Janus implementation

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

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

// Initialize Janus
let janus = new Janus({
    server: server,
    success: function() {
        // Attach to VideoCall plugin
        janus.attach({
            plugin: "janus.plugin.videocall",
            opaqueId: opaqueId,
            success: function(pluginHandle) {
                peerMetrics.addSdkIntegration({
                    janus: {
                        plugin: pluginHandle, // mandatory
                        serverId: '', // string, optional, an ID for this SFU server (default: janus-sfu-server)
                        serverName: '' // string, optional, a more readable name for this server (default: Janus SFU Server)
                    }
                })

                // continue with your logic
            }
        })
    }
})

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