Jitsi + PeerMetrics

Jitsi integration

Enable PeerMetrics before Jitsi creates peer connections so it can wrap RTCPeerConnection and observe the full conference lifecycle from the first join.

For Jitsi, timing matters most. Register the integration before the conference is created so PeerMetrics can wrap the underlying peer connection objects.

PeerMetrics SDK

Quick setup

  • Initialize PeerMetrics for the user and conference.
  • Register the Jitsi SDK integration.
  • Keep your normal call setup flow.

How it works

  1. Initialize PeerMetrics before creating the Jitsi conference object.
  2. Use addSdkIntegration() with wrapPeerConnection enabled.
  3. Pass your conference naming details for cleaner session grouping.
  4. Continue with the regular Jitsi join flow after the integration is registered.
Example
const peerMetrics = new PeerMetrics({
  apiKey: 'YOUR_API_KEY',
  userId: user.id,
  conferenceId: roomName
})

peerMetrics.addSdkIntegration({
  jitsi: {
    conferenceName: 'Daily Standup',
    wrapPeerConnection: true
  }
})

const api = new JitsiMeetExternalAPI(domain, options)

Based on the PeerMetrics SDK integration docs.

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.

    Make sure you and your team have all the data you need to build the best video and audio calling product.

  • Developer relaxing
    Fix problems before they appear

    Even with a great product, network conditions change. Make sure you have the tools to adapt and resolve issues quickly.

  • Happy support team
    Make sure your support team shines

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