Skip to main content
The SDK measures the audio of the connected call in two ways: an on-demand snapshot, and a stream of quality samples with a mean opinion score (MOS) and a level you can show to the user.

Snapshot

Signature
Returns the connected call’s statistics, or null when there is no call. Fields are null until WebRTC has reported them. Poll about once per second to draw a latency chart:
Cancel the timer when the call ends.

Quality events

Once the call’s audio connects, the SDK emits a CallQualityEvent on callMediaEvents every 2 seconds. A level change is reported only after two samples in a row agree, so a single bad sample doesn’t flash a warning.

Signalling quality

client.signalingQuality tells you whether the signalling connection itself is usable (good, degraded, or unavailable). See Network events.

After the call

Vobiz also records quality per call leg. The call detail record of each call has mos, jitter, packet_loss, and the negotiated codec, which you can compare with what the app measured.

Next steps