Skip to content
Roomful is in public beta — install with the @beta tag. Share feedback →

Interface: RoomDiagnosticsNetwork

@roomful/core


@roomful/core / RoomDiagnosticsNetwork

Defined in: packages/core/src/types.ts:336

Captures network-throughput and per-peer latency diagnostics for a room.

latency: Record<string, number>

Defined in: packages/core/src/types.ts:347

Maps each remote peer ID to its most recently measured round-trip latency in milliseconds. Peers without a completed measurement are omitted.


messagesPerSecond: number

Defined in: packages/core/src/types.ts:341

Estimates recent room message throughput in messages per second, averaged over a short sliding window across inbound and outbound signals.