Using rtcstats to explain freezes and dropped Jitsi calls
When users report freezes, poor audio or dropped calls on a self-hosted Jitsi while server metrics look normal, the missing evidence sits in each participant's browser. Client-side WebRTC statistics record what each participant's browser actually received and sent, including packet loss, jitter, bitrate and connection events. rtcstats-server collects those statistics from clients, and its visualizer lets you inspect them over the course of a call. Before you rely on any command, configuration key or component name from this page, confirm it against the current upstream Jitsi project documentation, and check which Jitsi releases the rtcstats tooling is compatible with in your environment.
Teams usually need this when the question is about one participant rather than the whole platform. Typical triggers are per-participant evidence for a support escalation, problems that appear only some of the time, complaints that start after a third person joins, and reports that a single network or device is affected. Server-side views show that the bridge is running, but they cannot show that one participant's uplink lost packets for thirty seconds. Plan the collection in advance: decide which meetings are instrumented, who may view the statistics, how long they are retained, and how participants are informed. Those statistics can identify people and their network locations, so the collection decision belongs with your privacy and compliance owners, not only with the platform team.
Before you collect anything, agree on the questions the data must answer, such as whether the freeze started on the sender or receiver side, or whether audio degraded before video. Then run a controlled test call from a known network and compare the client statistics with what the bridge reported for the same time window. Ask your vendor or the upstream project which statistics fields the visualizer supports for your release, how the data is sent and stored, and what retention limits apply. Treat rtcstats output as one input to the diagnosis, alongside the network path checks and bridge metrics covered elsewhere on this page.
How client statistics reach the visualizer
The path starts in each participant's browser, where the Jitsi Meet client collects WebRTC statistics during a call. The stats leave the device through the operator's network and the Jitsi stack, and the rtcstats-server component receives and stores them for the visualizer. Confirm the exact client reporting mechanism and endpoint in the upstream rtcstats documentation before you rely on it. The trust boundary sits between participant devices and the operator's network, so check what leaves each device and where the stats store is hosted.
Client-reported WebRTC statistics flow from browsers through the Jitsi stack to the visualizer.
Which symptom points to which statistics
Freezes usually appear as video that stops updating for a moment and then jumps forward. In collected statistics, this pattern tends to show up as a drop in received frame rate or a stall in decoded frames, often alongside a fall in the video bitrate the sender is achieving. The question to answer is whether the frames stopped arriving or the client stopped rendering them.
- Frame rate and decoded frames: Look for periods where frames decoded per second falls toward zero while the call stays connected.
- Bitrate changes: Check whether the sending bitrate drops sharply just before the freeze, which can indicate bandwidth adaptation.
- Packet loss on video: Sustained loss on the video stream, compared with the audio stream, points toward the path rather than the client.
- Resolution switches: Frequent changes in resolution can accompany freezes on constrained links.
- Videobridge logs: Check the bridge logs for the same time window to see whether the bridge reported congestion or dropped streams.
Treat this mapping as a starting hypothesis to confirm with the visualizer's own views, not as a diagnosis. Confirm the timing with the bridge logs before you change network or bridge settings.",
Choppy or robotic audio, or audio that cuts out, usually shows up in the audio statistics before it shows up anywhere else. Audio is more sensitive to packet loss and jitter than video, so a short burst of loss can be audible even when the video looks fine. The useful comparison is audio against video on the same participant and the same time window.
- Packet loss on audio: Short loss bursts that affect audio but not video often point to a local network problem, such as Wi-Fi interference.
- Jitter: Rising jitter means packet arrival times vary, which causes buffering and choppy playback.
- Round-trip time: A high or unstable round-trip time suggests a long or congested path between the participant and the bridge.
- Audio level and sending state: Check whether the audio track was muted, unavailable, or sending no packets during the complaint.
- Network path tests: Run a test from the affected participant's network to the bridge to see whether the loss is local or on the route.
Treat this mapping as a starting hypothesis to confirm with the visualizer's own views, not as a diagnosis. Compare the affected participant with a participant on a different network before concluding the problem is on the server side.
A dropped call means the participant leaves, or the media stops, without the user choosing to leave. The statistics for this symptom focus on connection state and the network path, not on quality numbers. You are looking for the moment the connection changed and what the client reported at that moment.
- Connection state changes: Look for transitions to disconnected or failed states, and whether they recover or end the session.
- ICE path changes: A switch between candidate types, or between direct and relayed paths, around the drop can point to a network change such as a Wi-Fi handover.
- Packet loss before the drop: Sustained loss ending in a disconnect suggests the path failed gradually rather than suddenly.
- Bridge and Prosody logs: Check for the participant's session ending in the bridge and signaling logs at the same time.
- Client environment: Note the browser, operating system and whether the device changed networks, since these details narrow the cause.
Treat this mapping as a starting hypothesis to confirm with the visualizer's own views, not as a diagnosis. Match the timestamps from the statistics to the server logs before deciding whether the cause sits on the client, the network or the server.
Options to decide before turning collection on
This table compares the five configuration decisions that shape an rtcstats deployment: where the server runs, which clients report, how long data is kept, who can open the visualizer and how participants are identified. Read each row as a choice you make before the first call is instrumented, and use the trade-off column to see what each option costs you in privacy, effort or diagnostic depth. Confirm every configuration key against the upstream rtcstats documentation before you change a setting.
| Decision | Option | Trade-off | When it fits |
|---|---|---|---|
| Where rtcstats-server runs | Same host as Jitsi | Fewest moving parts, but stats load and disk growth compete with the bridge and Prosody on that machine | Small test or pilot deployments where the team wants a fast first look at call data |
| Where rtcstats-server runs | Separate host or VM | Extra machine to patch and monitor, but storage growth and load stay isolated from media servers | Production deployments with several videobridges reporting at once |
| Where rtcstats-server runs | Existing observability stack | Reuses storage and access controls already audited, but integration with the visualizer and retention rules needs checking | Organizations that already run central logging and need stats held under the same governance |
| Which clients report | All clients | Maximum coverage for intermittent faults, with the highest storage and processing volume and more personal data to protect | Short diagnostic windows or when fault patterns are not yet known |
| Which clients report | A sample of clients | Lower volume and less data held, but a rare fault may not be captured | Steady-state operation once common failure patterns are understood |
| Which clients report | Only tested groups | Focused on known networks or devices, and blind to problems outside those groups | Pre-rollout validation of a specific office, region or device fleet |
| Retention period for stats | Short window | Limits exposure of call data and storage cost, but older incidents may be gone before someone reports them | Environments where meeting metadata is sensitive and incidents are reported quickly |
| Retention period for stats | Longer window | Supports trend analysis and post-incident review, but extends the period during which personal data is held | Organizations that need to correlate complaints reported days later with network history |
| Who can open the visualizer | Named engineers only | Smallest exposure, with slower access for support staff during an incident | Regulated teams where call content and participant behavior are restricted |
| Who can open the visualizer | Support and operations roles | Faster triage, but broader access to data that can identify people and networks | Teams that handle first-line tickets and need to see call quality directly |
| Participant identifiers | Stored as pseudonyms | Reduces direct identification in stored data, but support staff need a separate, controlled way to link a complaint to a session | Organizations applying data minimization to video conferencing records |
| Participant identifiers | Stored in clear form | Easiest to match a user report to a session, with more personal data to govern and protect | Internal deployments where the same people already appear in directory and access logs |
Setting up rtcstats collection step by step
This sequence turns on client-side WebRTC statistics for a self-hosted Jitsi, so that a test call produces data you can open and read in the visualizer. Each step ends with a check you can run before moving on to live troubleshooting.
Confirm the Jitsi release and deployment method
Record the Jitsi Meet release you run and whether it was installed from Debian packages or deployed with Docker, since the configuration file and restart commands differ between the two. Confirm the exact version against the jitsi-meet GitHub repository and the handbook pages for your method, and check that your operating system is on the supported list in the quick start. Done means you have a written note of the release, the method, the host names and the location of the web configuration file, which your team will use for every later step.
Deploy rtcstats-server on infrastructure you control
Install rtcstats-server on a host inside your own network or cloud account, separate from the Jitsi media path, following the upstream project instructions for your chosen install method. Confirm the Java and runtime prerequisites against the upstream README before installing, and do not rely on a third-party hosted collector if call data must stay in your environment. Done means the service starts cleanly and its own logs show it is listening, with no errors on startup.
Point the Jitsi web configuration at the collector
Edit the Jitsi web configuration so that the client loads the rtcstats settings, pointing the client at your rtcstats-server endpoint. Use the exact configuration keys that the upstream Jitsi and rtcstats documentation names for your release, and reload the web service after the change. Done means a browser that opens a meeting shows the rtcstats connection in its developer tools network activity without script errors.
Restrict network access to the collector
Limit who can reach the rtcstats-server endpoint and the visualizer, using firewall rules or your reverse proxy so that only the Jitsi web tier and named operator networks connect. Confirm that the endpoint is not reachable from the public internet by testing from an outside network, and check that the path your clients use is protected by TLS. Done means an outside test fails and an authorized test from an operator workstation succeeds.
Run a two-participant test call
Join a test meeting from two separate devices, ideally on different networks, and keep the call active for a short, fixed period while you turn on video and audio. Record the room name and the time so you can match the session to the data later. Done means both clients stay connected and the rtcstats session for each participant is recorded by the collector, visible in the server logs or storage.
Confirm statistics appear in the visualizer
Open the rtcstats visualizer and search for the room name and time window from your test call. Check that each participant has a session, that audio and video tracks are listed, and that the graphs show values over the call duration. Done means you can see bitrate, packet loss and round-trip time for both participants, which confirms the data path works end to end.
Set retention and access controls
Decide how long call statistics are kept and who may view them, then configure storage cleanup and visualizer access to match your data handling policy. Statistics can contain identifiers and usage patterns, so involve your privacy or compliance owner and confirm the retention setting with the rtcstats-server documentation for your version. Done means a written retention period, a named access group, and a test showing that an unauthorized account cannot open the visualizer.
Four misreadings that send teams to the wrong fix
Call quality data is easy to misread, and each misreading points the team at a different fix. The four cards below pair a common mistake with the check that tells the cases apart, so the next step goes to the right layer: the client, the media path, the network or the server.
One bad sample is not a trend
A single spike in packet loss, jitter or freeze count in an rtcstats timeline often comes from a brief Wi-Fi handover, a CPU stall on the participant's laptop or a moment of congestion. Before changing anything, check whether the degradation repeats across samples, lasts longer than a few seconds and appears for more than one participant at the same time. A problem that appears for one person only usually points to that person's local conditions, while a shared pattern points to the path or the bridge.
Packet loss without its media path
Packet loss means little until you know whether the media travelled peer-to-peer between two browsers or through the videobridge. The two paths fail differently, and a two-person call may use one while a third participant forces the other. Confirm the path for each affected session before reading loss figures, because loss on a relayed stream points toward the server's UDP reachability, while loss on a direct stream points toward the participants' networks.
Blaming the client for a network fault
Teams often reinstall browsers or ask users to restart devices when the real fault sits in the network path. Look for the candidate pair that rtcstats reports, the public address it advertises and whether UDP 10000 reaches the videobridge from outside your network. If the selected candidate is a relay or the advertised address is private, the fault belongs to network configuration, which the NAT troubleshooting topic covers in detail.
Debian quick startHealthy server metrics do not rule out media faults
Server dashboards show CPU, conference counts and bridge health, but they cannot show what a participant's browser received. A bridge can look idle while a single client suffers from a blocked UDP path, and an average across all conferences hides the one call that failed. Use the monitoring topics for trends on the server, then use rtcstats for the per-participant view, and compare the two over the same time window before deciding that the server is clean.
How rtcstats fits with Prometheus, Grafana and log analysis
rtcstats shows what the participant's browser saw, while the monitoring stack shows what the server saw. Each source answers a different question. The rtcstats data from a client records its own packet loss, jitter, bitrate, freezes and connection path as it experienced them. Videobridge metrics describe the bridge's load and media quality across all conferences it hosts, Prosody health shows whether signaling and the XMPP side were up, and logs record the events each container emitted at the time. A freeze reported by one participant can be caused by the client's network, the bridge's load, a signaling problem or a media path that changed mid-call, and only the combined picture separates these causes.
The working method is to align timestamps before reading any single chart. Start with the participant's report, then take the conference and meeting start times and the approximate time of the freeze from the rtcstats record for that participant. Open the bridge dashboards from your Prometheus and Grafana setup for the same window and look for load, packet loss or bitrate changes on the bridge that handled the conference. Next, search the logs for the same window for the conference and participant identifiers, checking for focus or bridge errors and reconnect events. Confirm that the clocks on the browser side and the servers agree before you trust the alignment. If the bridge shows no load change but the client shows loss on one path, suspect the client's network or the media route rather than the bridge.
Plan the three monitoring sources before an incident, not during one. Decide which metrics and log fields will carry the conference and participant identifiers, confirm your retention covers the windows people will report later, and agree who reads rtcstats output and who reads the server side. For the setup itself, use the sibling topics on scraping videobridge metrics for Prometheus, the Grafana dashboards for conferences and Prosody, and the Loki log analysis topic for shipping and querying logs. Those topics own the specific endpoints, dashboards and pipeline settings, so confirm them against your installed release before you rely on them.
Protecting statistics that identify participants
WebRTC statistics describe who was on a call, when, and from which networks, so they carry personal data even though they contain no media. The cards below cover access, retention, transport and storage protection, endpoint exposure and documentation, which together should be reviewed as a data flow separate from media encryption.
Treat stats as personal data
Per-participant statistics can reveal identity through display names, meeting IDs, join and leave times, and client IP-derived network details. Classify the rtcstats output as personal data before collection starts, so the same handling rules that apply to meeting logs apply here. Ask the security team to confirm which fields the collector receives from the clients and which of them are stored after processing.
Jitsi security pageMatch visualizer access to meeting administration
Anyone who can open the visualizer can reconstruct how a meeting went and who took part in it. Grant visualizer access only to the people who already administer meetings or run support, and remove access when those roles change. Review the list of accounts with access on the same schedule as other administrative access reviews.
Set a retention limit
Decide how long raw statistics and derived reports stay in the store, and delete them on a schedule rather than keeping them indefinitely for future debugging. Write the limit into the data retention record and confirm that backups follow the same deletion window. Shorter retention reduces the value of a breach, but it must still cover the time needed to investigate a reported call problem.
Encrypt stats in transit
Statistics travel from browsers to the collector over the network, so the connection to the collector must use TLS with a valid certificate chain. Clients that cannot validate the certificate will fail silently or send nothing, which hides the data you need. Confirm the collector hostname, certificate renewal and the trust settings used by browsers on managed devices.
Encrypt the stats store at rest
The database or file store holding statistics should use encrypted volumes or database-level encryption, with keys held separately from the data and access limited to the collector and visualizer service accounts. Include backup copies in the encryption scope. Ask the storage team to confirm where keys are kept and who can rotate them.
Restrict the collector endpoint
The rtcstats-server collector should accept connections only from the client networks and services that need it, not from the open internet. Limit ingress with firewall or reverse proxy rules, and separate the collector from the visualizer so that a compromise of one does not expose the other. Test the restriction from outside the approved networks before go-live.
Document the data flow for reviews
Privacy and compliance reviewers will ask what is collected, why, where it goes and how long it stays. Record the fields sent by clients, the collector location, storage, access roles, retention period and deletion method in one document. Note that Jitsi media encryption, described on the security page, does not cover this separate statistics flow, so review it on its own.
Jitsi security and privacyQuestions teams ask before debugging call quality with rtcstats
How much effort does collecting and analyzing rtcstats data take?
Effort falls into three parts: running the collection service, configuring clients to send statistics, and reading the results. Setup is mostly one-time work, while analysis recurs with each incident you investigate. The main drivers are the number of environments you run, whether the collection service fits into your existing logging and storage, how many device and network combinations you must cover, and how precisely the symptom is defined before you start. Ask any provider for a written list of deliverables, who operates the collection service after handover, how long statistics are retained, and which tasks the quote assumes your team will perform.
Can our own team run rtcstats troubleshooting without outside help?
Yes, if your team already operates Linux servers and containers, runs a self-hosted Jitsi stack, and can read WebRTC connection data well enough to separate network problems from media problems. Many teams handle routine cases in-house and bring in outside help for the first full investigation, for intermittent failures that only appear on certain networks, or when the statistics point to a server-side issue. DeployOpen plans, implements, supports and documents self-hosted Jitsi inside your own infrastructure, so the work can be split between your team and a partner. Confirm the current setup steps for the collection service and visualizer in the upstream project documentation before you commit to a process.
What does a rtcstats investigation need from our team?
The work needs four things from your side. First, server capacity and a place to run the collection service and store its output, with access rules that match your data policy. Second, access to the Jitsi hosts and configuration so the investigator can check how clients reach the videobridge. Third, client access to reproduce the problem on the devices, browsers and networks your users actually use. Fourth, a test plan that names the meetings to run, the number of participants, the timing windows and who signs off on results. Agree on each of these in the written scope before data collection starts, so that no time is lost waiting for access.
How long does a first useful rtcstats investigation take?
The time depends mainly on whether statistics collection already exists, how often the problem appears, and how well the symptom is described. If collection must be built first, that adds setup time before any call can be analyzed. An intermittent freeze may need several test calls before a pattern is visible, while a consistent failure with a clear reproduction path is usually faster to narrow down. The number of device types, browsers and network paths in scope also affects the schedule. Ask for a timeline in the written plan that separates setup, test calls, analysis and the report, and that states which of those steps depend on your team's availability.
Does collecting statistics from clients affect call quality?
It can, because collection adds some work on each client and sends data over the network. The effect depends on how much data is gathered, how often it is sent, and how capable the device is. The safest approach is to measure it: run the same test call with and without collection on the lowest-powered devices and slowest networks you support, then compare audio and video behavior. Confirm the sampling interval, upload behavior and failure handling in the upstream documentation, and check that a failed upload cannot interrupt the meeting itself. Record the settings used in each test so that results can be compared later.
How should we handle participant privacy in call statistics?
Statistics are separate from meeting media, so they need their own privacy decisions. The Jitsi security page explains how media is encrypted in transit, but connection data, device details and timing information can still identify people. Decide which fields you collect, keep only what the investigation needs, set a retention period, limit who can view the data, and store it inside your own infrastructure. Tell participants what is collected and why, and check the approach with your privacy or legal team, especially for regulated meetings. This guidance is operational, not legal advice, and your policy should govern the final configuration.
Which call problems can rtcstats explain, and which need other tools?
Statistics are most useful for freezes, poor or choppy audio, video that drops resolution, and calls that end unexpectedly, because they show how the connection behaved over time. They are less useful alone for questions about network paths, such as whether the server is behind NAT, whether the media ports are reachable from outside, or whether one participant fails only when a third joins. Pair statistics with server-side metrics, logs and direct network tests. For example, if statistics show packet loss only for participants on one network, check that network's path to the videobridge before changing server settings. Confirm the metrics and log sources available in your environment first.
Limits to confirm in your environment
rtcstats gives you client-side evidence, but its value depends on five things you must confirm before an incident forces the question. Each card below is a check to run in your own test environment, against the exact Jitsi release and client mix you operate.
Release and deployment compatibility
Confirm that the rtcstats components you plan to run work with the Jitsi Meet build you deploy, whether you run Debian packages, Docker or Kubernetes. Your Jitsi release is tagged by build number, so record the build alongside every stats export. Check the upstream repositories for the version pairing they document, then reproduce a short test call on a staging copy of your production stack before you enable collection for real users.
Jitsi Meet repositoryClient statistics coverage
Browsers and mobile apps do not all expose the same WebRTC statistics. Test each client you support, including the iOS and Android apps, and list which fields arrive at the collector: packet loss, round-trip time, jitter, frame rate, resolution and audio levels. Missing fields make a freeze or poor audio report impossible to explain, so treat that gap as a finding rather than assuming coverage.
Collector and store footprint
The collector and its database grow with the number of participants and the sampling interval. Measure CPU, memory, disk and network on a load test that matches your peak meeting volume, and set a retention period that your privacy team has approved. Ask the upstream maintainers which storage backend they support for production, since this decision drives backup and restore effort.
Videobridge and peer-to-peer paths
Statistics from a direct peer-to-peer call and from a call routed through a videobridge look different, and a bridge-side view is not the same as the client view. Test both paths, including a three-participant call, and confirm which side reports each metric. If your setup uses relays or TURN, verify that the collected data still identifies the path a participant used.
License and maintenance status
Check the license of each rtcstats component and of any visualizer you adopt, and read the project's recent commit and release history. Confirm who will patch the collector when a security issue appears in a dependency. A tool that is no longer maintained may still work today but will leave you without fixes, so record the review date and repeat the check at each Jitsi upgrade.
Jibri repositoryHow DeployOpen scopes call quality debugging
DeployOpen approaches call quality debugging as a planned piece of work inside your own infrastructure, starting from the complaints your users actually report. We agree what rtcstats collection, storage and analysis will cover, then build and document it so your own operators can read the statistics after we leave.
How we scope
- Written scope names which Jitsi deployment, browsers and client platforms the rtcstats collection will cover
- Scope records who can access collected statistics and how long they are kept in your environment
- Engagements are fixed-scope, with deliverables and timelines agreed in writing before work starts
How we build
- We deploy rtcstats-server in your infrastructure and connect the Jitsi Meet web client to it
- We test that statistics arrive for sample calls, including calls with three or more participants
- We set up the visualizer so operators can filter sessions by room, participant and time window
How we hand over
- Runbook explains how to read packet loss, jitter, bitrate and freeze indicators in the visualizer
- Documented steps for matching a user complaint to a specific session and its statistics
- Walkthrough session with your operators so they can run the analysis without DeployOpen
How we support
- Ongoing support, upgrades and continuous testing are available as retainers after handover
- Retainer scope is agreed in writing and can cover rtcstats version updates and collection checks
- Ask for the support boundaries and response expectations in writing before you sign

