Table of Contents

Method QueueSpeechAsync

Namespace
Oscova.Agents.Avatar
Assembly
Oscova.Agents.dll

QueueSpeechAsync(string, string, string?)

Queues speech playback using a remote audio URL. The avatar bridge downloads the URL to a local file before enqueueing playback.

Task<AvatarSpeechQueueResponse> QueueSpeechAsync(string url, string message, string? expectedBaseUrl = null)

Parameters

url string

The remote audio URL to download and play.

message string

The text message corresponding to the speech.

expectedBaseUrl string?

When supplied, the connected Engine must match this URL before queueing.

Returns

Task<AvatarSpeechQueueResponse>

Response indicating success, description, and saved local file path.