Client configuration including reducer, initial state, and connection options.
An object with status, state, playerId, sendAction, getServerTime, rtt, disconnect, and reconnect.
Manually disconnect from the host. Prevents automatic reconnection.
Manually reconnect to the host. Resets the reconnection attempt counter.
Round-trip time (ms) to the server. Updated periodically via PING/PONG.
React hook that connects the web controller to the TV host via WebSocket.
Manages the full lifecycle: connection, JOIN handshake, session recovery, optimistic state updates, server time synchronization, and automatic reconnection with exponential backoff.