Table of Contents

Method StartSessionAsync

Namespace
Oscova.Agents.Speech
Assembly
Oscova.Agents.dll

StartSessionAsync(SpeechProviderConfig, string?, string, string?, bool, CancellationToken)

Starts a synthesis session through the configured provider.

public Task StartSessionAsync(SpeechProviderConfig config, string? apiKey, string userId, string? voiceId, bool requireLocalEndpoint, CancellationToken ct = default)

Parameters

config SpeechProviderConfig
apiKey string?
userId string
voiceId string?
requireLocalEndpoint bool
ct CancellationToken

Returns

Task