Interface: ClientStatistics
Client connection statistics.
Properties
channelId
channelId:
string
Channel identifier in use.
connectCount
connectCount:
number
Number of successful connections in this client lifetime.
connectionAttemptCount
connectionAttemptCount:
number
Number of consecutive attempts since last success (resets on connect).
connectionState
connectionState:
ConnectionState
Current connection state.
connectionSuccessRatio
connectionSuccessRatio:
number
Ratio of successful connections to total attempts (0–1).
reconnectsPerHour
reconnectsPerHour:
number
Average reconnections per hour since client creation.
timeConnected
timeConnected:
number
Time in ms the current connection has been up (0 if disconnected).
totalConnectionAttempts
totalConnectionAttempts:
number
Total connection attempts in this client lifetime.
transportType?
optionaltransportType:string
Transport for the session (WebTransport/WebSocket).
uptime
uptime:
number
Time in ms since client was created.
url
url:
string
MoQ Server URL used for the current/last session.