five-on-it / apps/server/src/rtc-host / RtcStats
Interface: RtcStats
Defined in: apps/server/src/rtc-host.ts:53
The channel's numbers, for /health and the metrics.
Properties
bytesIn
bytesIn:
number
Defined in: apps/server/src/rtc-host.ts:66
bytesOut
bytesOut:
number
Defined in: apps/server/src/rtc-host.ts:65
Bytes sent and received over the channels.
fallbacks
fallbacks:
number
Defined in: apps/server/src/rtc-host.ts:61
Connections fallen back to the WebSocket since the process started.
fallbacksBy
fallbacksBy:
Record<RtcFallback,number>
Defined in: apps/server/src/rtc-host.ts:63
The same, by reason.
handshakes
handshakes:
number
Defined in: apps/server/src/rtc-host.ts:57
Channels on their way now (offered, not open yet).
opened
opened:
number
Defined in: apps/server/src/rtc-host.ts:59
Channels opened since the process started.
peers
peers:
number
Defined in: apps/server/src/rtc-host.ts:55
Channels open now.
worker
worker:
boolean
Defined in: apps/server/src/rtc-host.ts:68
Whether the worker runs now.
workerStops
workerStops:
number
Defined in: apps/server/src/rtc-host.ts:70
Times the worker stopped on its own.