Web SDKAPI referenceInterfaces
WayloVoiceState
A snapshot of the call.
A snapshot of the call.
Properties
| Property | Modifier | Type | Description |
|---|---|---|---|
agent | readonly | WayloVoiceAgentState | What the agent is doing. |
connection | readonly | WayloVoiceConnection | Whether this browser is in the call's room. |
end? | readonly | WayloVoiceEnd | Set once, together with connection: 'disconnected'. Nothing is emitted after it. |
microphone | readonly | WayloVoiceMicrophone | Whether the microphone is live, muted or off. |
microphoneDeviceId? | readonly | string | The microphone chosen, or the one in use once the call has it; unset or 'default' means the system default. |
network | readonly | WayloVoiceNetwork | How well this browser's connection is doing; 'good' outside a call. |
playback | readonly | WayloVoicePlayback | Whether the browser may play the agent's audio. |
sessionId? | readonly | string | The Waylo session id, once known. |
speakerDeviceId? | readonly | string | The speaker chosen, or the one in use once the call has it; unset or 'default' means the system default. |
stage | readonly | WayloVoiceStage | Which moment of the call this is, from connection and agent, for a status line. |
timings? | readonly | WayloVoiceTimings | How long each step of the call took, once start() was called. |
volume | readonly | number | Agent volume, 0 to 1. |