Table of Contents

Class LiveTranscriptionRequest

Namespace
Mabs.AudioCpp.Models
Assembly
AudioCpp.dll

Query parameters of POST /v1/audio/transcriptions/live. The body is raw interleaved PCM sent chunked; there is no multipart form and no JSON.

public sealed class LiveTranscriptionRequest
Inheritance
LiveTranscriptionRequest
Inherited Members

Properties

BusyTimeoutMs

Upper bound on waiting for a busy model, in milliseconds.

public long? BusyTimeoutMs { get; set; }

Property Value

long?

Channels

Interleaved channels; 1–16. Server default 1.

public int? Channels { get; set; }

Property Value

int?

Language

Language hint.

public string? Language { get; set; }

Property Value

string

Model

Streaming model id. Required.

public string? Model { get; set; }

Property Value

string

Prompt

Recognition-context prompt (hotwords, spellings).

public string? Prompt { get; set; }

Property Value

string

SampleFormat

s16le (default) or f32le.

public string? SampleFormat { get; set; }

Property Value

string

SampleRate

Sample rate of the PCM; 1000–384000. Server default 16000.

public int? SampleRate { get; set; }

Property Value

int?

Methods

BuildQueryString()

Validates and builds the query string.

public string BuildQueryString()

Returns

string

The encoded query string with a leading ?.