rtzr

package
v0.0.21 Latest Latest
Warning

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

Go to latest
Published: Jun 11, 2026 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

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

Variables

This section is empty.

Functions

This section is empty.

Types

type RtzrSTT

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

func NewRtzrSTT

func NewRtzrSTT(clientID string, opts ...RtzrSTTOption) *RtzrSTT

func (*RtzrSTT) Capabilities

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

func (*RtzrSTT) Label

func (s *RtzrSTT) Label() string

func (*RtzrSTT) Model added in v0.0.18

func (s *RtzrSTT) Model() string

func (*RtzrSTT) Provider added in v0.0.18

func (s *RtzrSTT) Provider() string

func (*RtzrSTT) Recognize

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

func (*RtzrSTT) Stream

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

type RtzrSTTOption added in v0.0.15

type RtzrSTTOption func(*RtzrSTT)

func WithRtzrAPIBase added in v0.0.15

func WithRtzrAPIBase(apiBase string) RtzrSTTOption

func WithRtzrAccessToken added in v0.0.15

func WithRtzrAccessToken(token string) RtzrSTTOption

func WithRtzrActiveThreshold added in v0.0.15

func WithRtzrActiveThreshold(activeThreshold float64) RtzrSTTOption

func WithRtzrClientSecret added in v0.0.15

func WithRtzrClientSecret(secret string) RtzrSTTOption

func WithRtzrDomain added in v0.0.15

func WithRtzrDomain(domain string) RtzrSTTOption

func WithRtzrEPDTime added in v0.0.15

func WithRtzrEPDTime(epdTime float64) RtzrSTTOption

func WithRtzrKeywords added in v0.0.15

func WithRtzrKeywords(keywords []string) RtzrSTTOption

func WithRtzrLanguage added in v0.0.15

func WithRtzrLanguage(language string) RtzrSTTOption

func WithRtzrModel added in v0.0.15

func WithRtzrModel(model string) RtzrSTTOption

func WithRtzrNoiseThreshold added in v0.0.15

func WithRtzrNoiseThreshold(noiseThreshold float64) RtzrSTTOption

func WithRtzrSampleRate added in v0.0.15

func WithRtzrSampleRate(sampleRate int) RtzrSTTOption

func WithRtzrUsePunctuation added in v0.0.15

func WithRtzrUsePunctuation(usePunctuation bool) RtzrSTTOption

func WithRtzrWSBase added in v0.0.15

func WithRtzrWSBase(wsBase string) RtzrSTTOption

Jump to

Keyboard shortcuts

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