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
configSpeechProviderConfigapiKeystring?userIdstringvoiceIdstring?requireLocalEndpointboolctCancellationToken