v2/IFluxSpeakWebSocketClient.cs

deepgram-dotnet-sdk · Deepgram/Clients/Interfaces/v2/IFluxSpeakWebSocketClient.cs · csharp · MIT
voice, Voice / Speech

Defines interface for Deepgram Flux v2 speak WebSocket client with event subscriptions.

// Source: https://github.com/deepgram/deepgram-dotnet-sdk | License: MIT | Copyright 2021 Deepgram Devs
// Provided via justclaw.it.com; keep this notice with the code.
// Copyright 2026 Deepgram .NET SDK contributors. All Rights Reserved.
// Use of this source code is governed by a MIT license that can be found in the LICENSE file.
// SPDX-License-Identifier: MIT

using Deepgram.Models.Flux.Speak.WebSocket;

namespace Deepgram.Clients.Interfaces.v2;

/// <summary>
/// Implements the Flux (v2 speak) text-to-speech WebSocket Client: stream text in and
/// receive synthesized audio out, turn by turn, for voice-agent pipelines.
///
/// Sends five client messages — Speak, Flush, Interrupt, Configure, and Close. There
/// are intentionally no binary-send members (the client receiv

... (truncated -- full source via MCP)

See the full source, get the GitHub permalink, and search for more like it.

Get a free API key