Table of Contents

Method StopSessionAsync

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

StopSessionAsync(SpeechProviderConfig, string, bool, CancellationToken)

Stops a synthesis session through the configured provider.

public Task StopSessionAsync(SpeechProviderConfig config, string userId, bool requireLocalEndpoint, CancellationToken ct = default)

Parameters

config SpeechProviderConfig
userId string
requireLocalEndpoint bool
ct CancellationToken

Returns

Task