rtzr

package
v0.4.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 30, 2026 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

View Source
const (
	PluginTitle   = "rtp-agent.plugins.rtzr"
	PluginVersion = "v0.4.2"
	PluginPackage = "rtp-agent.plugins.rtzr"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type RtzrSTT deprecated

type RtzrSTT = STT

Deprecated: use STT.

type RtzrSTTOption deprecated added in v0.0.15

type RtzrSTTOption = STTOption

Deprecated: use STTOption.

type STT added in v0.4.2

type STT struct {
	// contains filtered or unexported fields
}

func NewRtzrSTT deprecated

func NewRtzrSTT(clientID string, opts ...STTOption) *STT

Deprecated: use NewSTT.

func NewSTT added in v0.4.2

func NewSTT(clientID string, opts ...STTOption) *STT

func (*STT) Capabilities added in v0.4.2

func (s *STT) Capabilities() stt.STTCapabilities

func (*STT) InputSampleRate added in v0.4.2

func (s *STT) InputSampleRate() uint32

func (*STT) Label added in v0.4.2

func (s *STT) Label() string

func (*STT) Model added in v0.4.2

func (s *STT) Model() string

func (*STT) Provider added in v0.4.2

func (s *STT) Provider() string

func (*STT) Recognize added in v0.4.2

func (s *STT) Recognize(ctx context.Context, frames []*model.AudioFrame, language string) (*stt.SpeechEvent, error)

func (*STT) Stream added in v0.4.2

func (s *STT) Stream(ctx context.Context, language string) (stt.RecognizeStream, error)

type STTOption added in v0.4.2

type STTOption func(*STT)

func WithRtzrAPIBase added in v0.0.15

func WithRtzrAPIBase(apiBase string) STTOption

func WithRtzrAccessToken added in v0.0.15

func WithRtzrAccessToken(token string) STTOption

func WithRtzrActiveThreshold added in v0.0.15

func WithRtzrActiveThreshold(activeThreshold float64) STTOption

func WithRtzrClientSecret added in v0.0.15

func WithRtzrClientSecret(secret string) STTOption

func WithRtzrDomain added in v0.0.15

func WithRtzrDomain(domain string) STTOption

func WithRtzrEPDTime added in v0.0.15

func WithRtzrEPDTime(epdTime float64) STTOption

func WithRtzrKeywords added in v0.0.15

func WithRtzrKeywords(keywords []string) STTOption

func WithRtzrLanguage added in v0.0.15

func WithRtzrLanguage(language string) STTOption

func WithRtzrModel added in v0.0.15

func WithRtzrModel(model string) STTOption

func WithRtzrNoiseThreshold added in v0.0.15

func WithRtzrNoiseThreshold(noiseThreshold float64) STTOption

func WithRtzrSampleRate added in v0.0.15

func WithRtzrSampleRate(sampleRate int) STTOption

func WithRtzrUsePunctuation added in v0.0.15

func WithRtzrUsePunctuation(usePunctuation bool) STTOption

func WithRtzrWSBase added in v0.0.15

func WithRtzrWSBase(wsBase string) STTOption

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL