Documentation
¶
Overview ¶
Package audiolive serves a private browser companion for live audio translation.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct {
Language string `json:"language"`
NoiseReduction bool `json:"noise_reduction"`
}
Config contains only the public controls used to start a translation session.
type Event ¶
type Event struct {
Type string `json:"type"`
Delta string `json:"delta,omitempty"`
Message string `json:"message,omitempty"`
Tokens int64 `json:"tokens,omitempty"`
Format string `json:"format,omitempty"`
SampleRate int `json:"sample_rate,omitempty"`
Channels int `json:"channels,omitempty"`
}
Event carries only display data. It never contains credentials or raw API errors.
type Failure ¶
type Failure string
Failure contains an actionable message prepared by trusted application code. Unclassified errors never reach the browser.
Click to show internal directories.
Click to hide internal directories.