Interface: RoomDiagnosticsNetwork
@roomful/core / RoomDiagnosticsNetwork
Interface: RoomDiagnosticsNetwork
Section titled “Interface: RoomDiagnosticsNetwork”Defined in: packages/core/src/types.ts:336
Captures network-throughput and per-peer latency diagnostics for a room.
Properties
Section titled “Properties”latency
Section titled “latency”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
Section titled “messagesPerSecond”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.