VOOZH about

URL: https://www.nuget.org/packages/WhisperLive.Client/

⇱ NuGet Gallery | WhisperLive.Client 1.5.2




WhisperLive.Client 1.5.2

There is a newer prerelease version of this package available.
See the version list below for details.
dotnet add package WhisperLive.Client --version 1.5.2
 
 
NuGet\Install-Package WhisperLive.Client -Version 1.5.2
 
 
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="WhisperLive.Client" Version="1.5.2" />
 
 
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="WhisperLive.Client" Version="1.5.2" />
 
Directory.Packages.props
<PackageReference Include="WhisperLive.Client" />
 
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add WhisperLive.Client --version 1.5.2
 
 
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: WhisperLive.Client, 1.5.2"
 
 
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package WhisperLive.Client@1.5.2
 
 
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=WhisperLive.Client&version=1.5.2
 
Install as a Cake Addin
#tool nuget:?package=WhisperLive.Client&version=1.5.2
 
Install as a Cake Tool
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

WhisperLive.Client

A dotnet client library for WhisperLive server.

Installation

dotnet add package WhisperLive.Client

Usage

To use the Recorder library, include the necessary files in your project and import the Recorder class along with its dependencies.

using WhisperLive.Abstraction;
using WhisperLive.Abstraction.Configurations;
using WhisperLive.Client.Filters;
using WhisperLive.Client.Implementation;

var url = "ws://your-server-location";

// Adds your own filter as you see fit into the SegmentFilterFilterPipeline here.
var filterPipeline = new SegmentFilterFilterPipeline();
filterPipeline.AddFilter(new YourCustomFilter());
filterPipeline.AddFilter<YourAnotherCustomFilter>();

var configuration = new TranscriptorConfiguration(
 model: "large-v2",
 language: "en",
 isMultiLanguage: false,
 useVoiceActivityDetection: false,
 transcriptionDelay: TimeSpan.FromMilliseconds(100),
 transcriptionTimeout: TimeSpan.FromSeconds(30),
 segmentFilter: filterPipeline,
 options: TranscriptionOptions.Default with
 {
 RepetitionPenalty = 1.1f,
 });

// Create the transcriptor with a pre-defined configuration.
using var transcriptor = new SingleChannelTranscriptor(serviceUri);

// Subscribe to the events
transcriptor.TranscriptorReady += (sessionId, transcriptor) => { ... };
transcriptor.TranscribeMessageCompleted += (sessionId, speaker, segments) => { ... };
transcriptor.SessionEnded += (sessionId, reason, desc) => { ... };

// Starts the transcription session.
// The input can be an audio file path, an audio stream, or a HLS streaming URL.
var source = "/path/to/my/audio.mp3";
using var transcriptionSession = await transcriptor.StartAsync(source, CancellationToken.None);

// To stop the transcription you can call `StopAsync`
await transcriptor.StopAsync(transcriptionSession.Id, CancellationToken.None);

License

This project is licensed under the MIT License.

Product Versions Compatible and additional computed target framework versions.
.NET net8.0 net8.0 is compatible.  net8.0-android net8.0-android was computed.  net8.0-browser net8.0-browser was computed.  net8.0-ios net8.0-ios was computed.  net8.0-maccatalyst net8.0-maccatalyst was computed.  net8.0-macos net8.0-macos was computed.  net8.0-tvos net8.0-tvos was computed.  net8.0-windows net8.0-windows was computed.  net9.0 net9.0 was computed.  net9.0-android net9.0-android was computed.  net9.0-browser net9.0-browser was computed.  net9.0-ios net9.0-ios was computed.  net9.0-maccatalyst net9.0-maccatalyst was computed.  net9.0-macos net9.0-macos was computed.  net9.0-tvos net9.0-tvos was computed.  net9.0-windows net9.0-windows was computed.  net10.0 net10.0 was computed.  net10.0-android net10.0-android was computed.  net10.0-browser net10.0-browser was computed.  net10.0-ios net10.0-ios was computed.  net10.0-maccatalyst net10.0-maccatalyst was computed.  net10.0-macos net10.0-macos was computed.  net10.0-tvos net10.0-tvos was computed.  net10.0-windows net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on WhisperLive.Client:

Package Downloads
WhisperLive.Client.Recorder

A dotnet client for WhisperLive speech to text server with microphone record support.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.6.0-beta-008 248 7/3/2025
1.6.0-beta-007 215 7/2/2025
1.6.0-beta-006 230 7/1/2025
1.6.0-beta-004 228 6/30/2025
1.6.0-beta-003 224 6/25/2025
1.6.0-beta-002 224 6/24/2025
1.6.0-beta-001 223 6/24/2025
1.5.2 232 5/30/2025
1.5.1 269 3/20/2025
1.5.0 251 3/20/2025
1.2.1 280 6/11/2024
1.2.0 234 6/10/2024
1.1.5 212 6/4/2024
1.1.4 225 5/28/2024
1.1.3 205 5/27/2024
1.1.2 216 5/27/2024
1.1.1 218 5/27/2024
1.1.0 220 5/23/2024
1.1.0-preview-006 202 4/30/2024
1.1.0-preview-005 181 4/29/2024
Loading failed

Replce web socket library to use .