oficina / meet Public

Clone
git clone https://amadan.net/oficina/meet

Plain git — no account needed to clone.

Download

Download this file

Reading quality and problem reports

What Calls logs about calls, and how to find it (spec §15.26, Paul's ruling of 2026-10-03). The log is the only place these live: nothing is in the database. CARLOS keeps an app's log for seven days (or 50 MiB of compressed log per app per box, whichever comes first), so look within the week.

The lines

Both kinds are JSON lines, so carlos logs --field k=v can filter on their top-level members (it reads fields only from JSON lines; --grep matches the msg of a JSON line and nothing else).

  • calls: quality (INFO), one per client every 30 s in a call and one at leave (final: true). Top level: call (the call tag, shared by everyone in one call), peer (this participation's tag), app (web, mac, iphone, ipad), version, browser, browserVersion, os, osVersion, final, seconds, remotes, and the headlines relay, maxLossPct, maxRtt, freezes, reconnecting, the screen's counts when not zero, and autoReport (a reference) when the client sent an automatic report with that window. report holds devices (kinds, never names) and the call-wide events; it is nested, so carlos logs does not print it.
  • calls: quality peer (INFO, since 2026-10-28, spec §15.29), one per remote peer after each calls: quality line, flat so carlos logs prints all of it: call, peer, remote (the other person's tag), the path (pathLocal, pathRemote, pathProtocol, relayRegion), round trip and jitter (rtt, rttAvg, rttMax, jitterAvg, jitterMax), this side's candidates (candHost, candSrflx, candRelay, candRemote…, directOk, localDirectOk, udpOk), and outAudio…, outCamera…, outScreen…, inAudio…, inCamera…, inScreen… (Kbps, Width, Height, Fps, LossPct, Limit, LimitedBandwidthSeconds, Encoder, Decoder, Codec, Mode, Freezes, FreezeSeconds, Dropped, …), and the events. Only what the client measured is there.
  • calls: problem report (WARN), when someone presses Send in Report a problem: ref (what they were shown), call, peer, the client fields, live (still in the call, or within ten minutes after), note and parts.
  • calls: problem report diagnostics (WARN): the diagnostics text in parts lines, each with ref, part, of and text.
  • calls: auto report and calls: auto report diagnostics (WARN, since 2026-10-28): the same, sent by a client on its own when its call was struggling, with trigger (freezes: 3 or more in two windows running; rtt: over 800 ms in two windows running; reconnecting: shown more than 5 s; screen: the screen recovery went past keyframes) in place of a note. At most one every ten minutes and three per participation; off when the person's quality reports are off, or CALLS_QUALITY_REPORTS=off.

Tags are random. They cannot be turned back into a meeting or a person, and nothing else in the log can be matched to them. The way from "the call at 15:40" to a tag is the time.

In the console

The Carloku console's log view for the app (account oficina, app calls): filter the message for calls: quality or calls: problem report, then by call once you have a tag.

With carlos

# Every report in the last two hours carlos logs --app calls --account oficina --since 2h -n 5000 --grep '^calls: (quality|problem report|auto report)'

# One call, every line from every person in it carlos logs --app calls --account oficina --since 24h -n 5000 --field call=3k2jq7m4xw5zt6ab

# A problem report someone quoted, or an automatic report's reference, with its diagnostics carlos logs --app calls --account oficina --since 7d -n 5000 --field ref=K7Q2M9PD

# Every automatic report this week carlos logs --app calls --account oficina --since 7d --grep '^calls: auto report$'

# One call's per-peer detail: paths, candidates, sizes, freezes, encoders carlos logs --app calls --account oficina --since 24h -n 5000 --field call=3k2jq7m4xw5zt6ab --grep '^calls: quality peer$'

# Connections whose own leg went through the relay carlos logs --app calls --account oficina --since 24h --grep '^calls: quality peer$' --field pathLocal=relay

# Every problem report this week carlos logs --app calls --account oficina --since 7d --grep '^calls: problem report$'

# Reports from the Mac app, or from one version of it carlos logs --app calls --account oficina --since 24h --grep '^calls: quality$' --field app=mac carlos logs --app calls --account oficina --since 24h --grep '^calls: quality$' --field app=mac --field version=0.4.9

# Windows where media went through the relay carlos logs --app calls --account oficina --since 24h --grep '^calls: quality$' --field relay=true

# A window of time, in UTC (carlos prints and reads UTC) carlos logs --app calls --account oficina --since 2026-10-03T14:30:00Z --until 2026-10-03T15:00:00Z --grep '^calls: quality$'

-n is at most 5,000 lines; a 30-second cadence is about 120 lines an hour per person, so narrow --since for a busy week.

The summary

cmd/quality-summary turns those lines into an account of each call:

go run ./cmd/quality-summary --since 3h # every call in the last three hours go run ./cmd/quality-summary --since 24h --at 15:40 # the call at 15:40, Europe/Dublin, today go run ./cmd/quality-summary --call 3k2jq7m4xw5zt6ab --since 24h go run ./cmd/quality-summary --problem K7Q2M9PD --since 7d carlos logs --app calls --account oficina --since 2h -n 5000 | go run ./cmd/quality-summary

With nothing piped in it runs carlos logs itself. It prints, per call:

Call callcallcallcall 2026-10-03 15:41:00 – 15:41:30 Europe/Dublin (30s), 2 people, 1 problem report(s) People aaaaaa mac 0.4.9 macos 26.0.1 2 reports (input bluetooth, output built-in) bbbbbb web de04e2d chrome 141.0 on windows 10.0 1 reports Connections (what the first heard from the second) aaaaaa ← bbbbbb worst loss 10.0% (video), worst RTT 48 ms, freezes 2 (1.5 s), audio concealed 1.00%, path host→host udp, relay 50% bbbbbb ← aaaaaa worst loss 0.0%, worst RTT 180 ms, freezes 0 (0.0 s), path relay→srflx tls, relay 100% Events 15:41:00 aaaaaa: "Reconnecting to bbbbbb…" (4.2 s) 15:41:05 bbbbbb: "aaaaaa can't hear you yet" (3.0 s) 15:41:30 aaaaaa left (final report) Problem K7Q2M9PD at 15:41:20 from aaaaaa (mac): "video froze"

From the peer lines (since 2026-10-28) it adds, per call:

Paths (each side's own account) mmmmmm → ssssaf path srflx→relay udp, relay 100% via eu-west-1, RTT avg 398 ms, RTT max 1288 ms, jitter max 40 ms, … mmmmmm's candidates: gathered host 3, srflx 1, relay 2; offered host 2, srflx 0, relay 1; direct pair worked no, own network reached out yes, UDP yes ssssaf → mmmmmm path relay→srflx tls, relay 100% via eu-west-1, RTT avg 402 ms, RTT max 1312 ms, jitter max 96 ms, … ssssaf's candidates: gathered host 2, srflx 0, relay 1; offered host 1, srflx 1, relay 1; direct pair worked no, own network reached out no, UDP no Why relayed mmmmmm – ssssaf ssssaf found no public address (no srflx candidate: UDP to the outside blocked); → ssssaf's network forced the relay Media (sender → receiver) mmmmmm → ssssaf screen sent 1920×1246, 4.0 fps, 900 kbps, limited by bandwidth (30 s; cpu 0 s), mode balanced, encoder hardware, … received 1920×1246, 4.0 fps, 900 kbps, freezes 3 (9.0 s), stalls 1, decoder software, h264 Automatic report 9P3J52YS at 14:02:41 from ssssaf (web), trigger freezes

"Own network reached out" is whether a pair whose local end was not the relay ever worked; "UDP" whether any pair went over UDP all the way. A side with no srflx candidate never found its public address; a side whose path starts relay→ is the one whose own leg needed the relay.

"Worst loss" is the worst 30-second window's inbound packet loss, of audio, camera or screen; "relay" is the share of windows whose path went through the relay; "audio concealed" is the share of received audio the receiver had to make up.

Turning it off

carlos env set --app calls --account oficina CALLS_QUALITY_REPORTS=off, then carlos restart (which drops live calls), stops the automatic reports — quality reports and the automatic Report a problem both: the endpoints answer 204 and clients stop sending for that call. Report a problem keeps working. carlos env unset --app calls --account oficina CALLS_QUALITY_REPORTS and a restart turn them back on.