How to Investigate One User's Bad Video Call

Short answer: Open the call in the Stream Video dashboard, find that user's session, and see when their connection quality score dropped. Then check their round-trip time, packet loss, frame rate, bitrate, and resolution at that moment, along with their device, location, and the server they connected to. From code, the participant metrics API returns a publisher's bitrate, frame rate, resolution, and quality warnings.

When dealing with internet video calls, many things can negatively impact call quality. Improving call quality when issues occur requires understanding how specific metrics impact your user's experience. To help you better understand what is going on, Stream offers a comprehensive video statistics page on our dashboard. With our statistics dashboard, you can quickly inspect overall call quality and, when needed, dig deeper with Chrome's built-in WebRTC debugging tools.

Before we look at the available tooling, let's first look at the most important metrics impacting call quality.

Understanding Key Call Quality Metrics

When implementing WebRTC calls in your application, monitoring several critical metrics is essential for maintaining high-quality communication. Let's examine these metrics, their significance, and how to monitor them effectively.

Latency Round Trip Time (RTT)

Round-trip time is how long data takes to travel from the user to the video server and back. It's the main driver of latency in a call. It's one of the most crucial metrics affecting real-time communication.

  • Acceptable ranges (per Stream's call stats guide):
    • Good: < 150ms
    • Fair: 150-300ms
    • Poor: > 300ms
  • Detection methods:
    • Monitor RTT values from getStats() API
    • Read RTT from remote-inbound-rtp stats
    • Track end-to-end delay measurements

Jitter

Jitter represents the variation in packet delivery time, which can cause audio/video quality issues.

  • Acceptable ranges:
    • Good: < 40ms
    • Fair: 40-50ms
    • Poor: > 50ms
  • Detection methods:
    • Analyze packet arrival time variations
    • Monitor jitter buffer metrics
    • Track packet inter-arrival time

Packet Loss

Packet loss is the share of audio and video packets that never arrive. Small amounts are hidden by error correction; larger amounts show up as dropped words and blocky or frozen video.

  • Acceptable ranges (one way):
    • Good: < 5%
    • Fair: 5-10%
    • Poor: > 10%

Frame Rate (FPS)

Frame rate is how many video frames per second actually reach the viewer. It drops when the sender's CPU or uplink can't keep up.

  • Acceptable ranges:
    • Good: 24-30 fps
    • Fair: 15-23 fps
    • Poor: < 15 fps

Bitrate and Resolution

Bitrate is how much data a track uses per second, and resolution is the size of the video frame. When bandwidth drops, the SDK lowers both to keep the call going, so a sudden drop in either usually points to a network problem on the sender's or receiver's side rather than a bug in your app.

Time to Connect

This metric measures how long it takes to establish a WebRTC connection, including ICE candidate gathering and signaling.

  • Key components to monitor:
    • ICE gathering time
    • Signaling round-trip time
    • DTLS handshake duration
  • Detection methods:
    • Log timestamps for connection state changes
    • Track ICE candidate collection times
    • Measure time from offer to answer completion

Codec Performance

The choice and performance of audio/video codecs significantly impact call quality and resource usage.

  • Key metrics to monitor:
    • Encoding/decoding time
    • Bandwidth consumption
    • CPU usage
    • Frame rate and resolution adaptation

What is MOS?

Mean Opinion Score (MOS) is a 1-to-5 rating of how good a call sounded. It started as an average of ratings from real listeners (ITU-T P.800), and today it's usually estimated from network metrics like latency, jitter, and packet loss, for example with the E-model.

Stream doesn't report a MOS. Instead, its dashboard scores quality out of 100: each session gets a Call Rating, and each participant gets a connection quality score over time, built from metrics like these. For the details behind any score, use the underlying metrics (RTT, jitter, packet loss, frame rate, bitrate, and resolution) described in Stream's call stats guide, along with the 1-to-5 ratings your users submit themselves (see Collecting Feedback From Users).

Impact on User Experience

These technical metrics directly translate to user experience in several ways:

  • High Latency Effects:
    • Delayed responses leading to awkward conversations
    • Audio/video synchronization issues
    • Increased frequency of talk-overs
  • Jitter Impact:
    • Choppy or robotic audio
    • Frozen or stuttering video
    • Lip-sync problems
  • Connection Time Issues:
    • User frustration during call initiation
    • Increased call abandonment rates
    • Poor first-time user experience

Monitoring Solutions

To effectively track these metrics, implement a combination of:

  • Real-time monitoring using WebRTC's getStats() API
  • Stream's active calls status endpoint, which reports quality across live calls for alerting
  • Client-side analytics for user experience metrics
  • Automated alerting systems for threshold violations

By implementing comprehensive monitoring of these metrics, developers can proactively identify and resolve issues before they significantly impact user experience.

Ready to integrate? Our team is standing by to help you. Contact us today and launch tomorrow!

Chrome's Built-in WebRTC Debugging Tools

Chrome provides powerful built-in debugging tools for WebRTC connections through chrome://webrtc-internals. This interface offers developers deep insights into the real-time performance and behavior of WebRTC connections, making it an invaluable resource for troubleshooting and optimization.

While the tool presents comprehensive data about connection statistics, codec negotiations, and network parameters, the sheer volume of information can be overwhelming. Many developers find that only a small subset of the available metrics (such as packet loss, jitter, and bandwidth usage) are regularly useful for debugging common issues. The challenge lies in identifying which metrics are relevant for your specific debugging scenario among the vast amount of data presented.

Stream Dashboard: Investigate One User's Call

When a user reports a bad call, work through these steps in the Stream Video dashboard:

  1. Find the session. Open Video in the dashboard, then find the call under Recent Sessions or paste its ID into Jump to call by ID or CID. Each session in the list shows a Quality Score, so a low number is a quick way to spot calls worth a closer look.
Stream Video dashboard overview with the Recent Sessions list, showing a call with a Quality Score of 98
  1. Read the session report. The report shows when the call ran, how many participants and sessions it had, how many people published media, how many SFUs it used, and a Call Rating out of 100. Below that, the Participants Timeline has a bar for each participant's session. Click the user's bar to open their details.
Session report showing the call timeline, participants, join success, a Call Rating of 98 out of 100, and the Participants Timeline
  1. Check the user's device, location, and server. The Details tab shows the user's SDK and version, browser, location, and the SFU they connected to, including how far away it was. A user far from their SFU, or on an old SDK, will have a harder time no matter what your app does.
Participant Details tab showing the user ID, session, SDK, browser, and the SFU the user connected to
  1. Look at the stats over time. The Stats tab charts the user's connection quality score from 0 to 100 and their round-trip time. Open their published video track to see frame rate, bitrate, packet loss, and resolution. Look for the moment the quality score dips, then check which of these moved with it, and compare them against the ranges above. Keep in mind that Stream lowers resolution on purpose when a viewer shows someone in a small tile, so a lower resolution on its own isn't always a problem.
Participant Stats tab with charts for connection quality score and round-trip time
Published video track charts for frame rate, bitrate, and packet loss
  1. Read the events. The Events tab lists everything that happened in the user's session, from permission prompts and connection setup to changes in connection quality and publish quality. Filter by severity to jump straight to warnings and errors.
Participant Events tab listing session events with time, severity, and event name

To see how two people's experience differed, select both sessions on the timeline and use Participant Comparison to overlay their stats.

Get the Same Data From Code

To pull a participant's metrics into your own tools, first list the participant sessions with the call attendance API, then fetch one session's participant metrics. For a participant who published audio or video, the response includes bitrate, frame rate, and resolution over time, quality warnings, and their client, network type, and location. It covers the last minute by default, and up to 30 minutes when you pass since and until:

// Server-side, with Stream's Node SDK
import { StreamClient } from "@stream-io/node-sdk";

const client = new StreamClient(apiKey, secret);
const call = client.video.call("default", "call-id");
const response = await call.getCallParticipantSessionMetrics({
  session: "<session-id>",
  user: "<user-id>",
  user_session: "<user-session-id>",
});

This data is final once the call ends and the call.stats_report_ready webhook fires. For a deeper look at a single connection, see our Debugging WebRTC Calls article, which goes down to the protocol level.

Collecting Feedback From Users

Direct user feedback is invaluable for understanding call quality from the end-user perspective. Stream's user ratings API provides a powerful way to collect this feedback systematically. The API enables developers to implement rating prompts at the end of calls, where users can rate their call experience on a scale, provide detailed written feedback, and report specific issues they encountered.

Ratings appear with each call in Stream's dashboard, and you can download them from your server to analyze alongside your own data. With the user ratings API, you can:

  • Match the rating interface with your application's design
  • Collect a 1-to-5 rating plus a written reason
  • Tag ratings with custom data, like the screen or app version, so you can group them later

Here's an example of how to collect a rating in React with call.submitFeedback. Ratings go from 1 to 5:

import { useState } from "react";
import { useCall } from "@stream-io/video-react-sdk";

const CallQualityRating = () => {
  const call = useCall();
  const [feedback, setFeedback] = useState("");

  const submitRating = async (rating) => {
    // Stream Video React SDK v1
    await call?.submitFeedback(rating, {
      reason: feedback,
      custom: { screen: "post-call" }, // any extra data you want to keep
    });
  };

  return (
    <div>
      <h3>Rate your call experience</h3>
      <button onClick={() => submitRating(5)}>Rate 5 stars</button>
      <textarea
        placeholder="Share your feedback..."
        onChange={(e) => setFeedback(e.target.value)}
      />
    </div>
  );
};

Each rating fires a call.user_feedback_submitted webhook, so you can link a low rating to that call's session and open it in the dashboard straight away.

This is a basic example - you can customize the UI and rating system according to your application's needs while still utilizing Stream's rating API to collect and track user feedback.

Where to Go Next

How This Compares

Other video providers offer similar tools. Daily shows session and participant details on its Dashboard Sessions page, Vonage has Inspector for debugging past sessions, and Twilio has Video Insights in its Console. If you're moving from one of them, the workflow above should feel familiar: find the session, then the participant, then the moment things went wrong.

Ready to Transform Your Video Experience?

WebRTC has many metrics that you can look at. Developers using Stream have a comprehensive set of tools and a dashboard to quickly examine the health of their calls and get user feedback on how things are going. They can use these tools to detect integration issues, user connection issues, etc., and then optimize their apps to minimize interruptions.

Experience the power of enterprise-grade WebRTC with Stream's comprehensive video, voice calling, and livestreaming solution. Our robust monitoring tools, intuitive dashboard, and expert support team ensure your video integration succeeds from day one. Whether you're building a virtual classroom, telehealth platform, or social app, Stream Video provides the reliability and performance your users demand.

Ready to elevate your app with crystal-clear calls? Create your free account today or connect with our team to discover how Stream can transform your video calling user experience.