Connection / turn state of a realtime client session.
connecting — the provider connection is being negotiated
connected — the transport is up but the control channel is not yet open
listening — control channel open; mic live; waiting on / hearing the user
speaking — the model is producing (or about to produce) audible output
closed — the session has been torn down
error — a fatal transport error occurred; the session is no longer usable
Note there is deliberately NO thinking state here: "the host is executing a tool" is
host policy, not wire state. Hosts that want a busy indicator set it themselves between
receiving a tool call and calling BaseRealtimeClient.SendToolResult.
Connection / turn state of a realtime client session.
connecting— the provider connection is being negotiatedconnected— the transport is up but the control channel is not yet openlistening— control channel open; mic live; waiting on / hearing the userspeaking— the model is producing (or about to produce) audible outputclosed— the session has been torn downerror— a fatal transport error occurred; the session is no longer usableNote there is deliberately NO
thinkingstate here: "the host is executing a tool" is host policy, not wire state. Hosts that want a busy indicator set it themselves between receiving a tool call and calling BaseRealtimeClient.SendToolResult.