WayloAIWaylo Docs
Web SDKAPI referenceInterfaces

WayloVoiceState

A snapshot of the call.

A snapshot of the call.

Properties

PropertyModifierTypeDescription
agentreadonlyWayloVoiceAgentStateWhat the agent is doing.
connectionreadonlyWayloVoiceConnectionWhether this browser is in the call's room.
end?readonlyWayloVoiceEndSet once, together with connection: 'disconnected'. Nothing is emitted after it.
microphonereadonlyWayloVoiceMicrophoneWhether the microphone is live, muted or off.
microphoneDeviceId?readonlystringThe microphone chosen, or the one in use once the call has it; unset or 'default' means the system default.
networkreadonlyWayloVoiceNetworkHow well this browser's connection is doing; 'good' outside a call.
playbackreadonlyWayloVoicePlaybackWhether the browser may play the agent's audio.
sessionId?readonlystringThe Waylo session id, once known.
speakerDeviceId?readonlystringThe speaker chosen, or the one in use once the call has it; unset or 'default' means the system default.
stagereadonlyWayloVoiceStageWhich moment of the call this is, from connection and agent, for a status line.
timings?readonlyWayloVoiceTimingsHow long each step of the call took, once start() was called.
volumereadonlynumberAgent volume, 0 to 1.

On this page