Documentation
¶
Index ¶
- Constants
- type RtzrSTTdeprecated
- type RtzrSTTOptiondeprecated
- type STT
- func (s *STT) Capabilities() stt.STTCapabilities
- func (s *STT) InputSampleRate() uint32
- func (s *STT) Label() string
- func (s *STT) Model() string
- func (s *STT) Provider() string
- func (s *STT) Recognize(ctx context.Context, frames []*model.AudioFrame, language string) (*stt.SpeechEvent, error)
- func (s *STT) Stream(ctx context.Context, language string) (stt.RecognizeStream, error)
- type STTOption
- func WithRtzrAPIBase(apiBase string) STTOption
- func WithRtzrAccessToken(token string) STTOption
- func WithRtzrActiveThreshold(activeThreshold float64) STTOption
- func WithRtzrClientSecret(secret string) STTOption
- func WithRtzrDomain(domain string) STTOption
- func WithRtzrEPDTime(epdTime float64) STTOption
- func WithRtzrKeywords(keywords []string) STTOption
- func WithRtzrLanguage(language string) STTOption
- func WithRtzrModel(model string) STTOption
- func WithRtzrNoiseThreshold(noiseThreshold float64) STTOption
- func WithRtzrSampleRate(sampleRate int) STTOption
- func WithRtzrUsePunctuation(usePunctuation bool) STTOption
- func WithRtzrWSBase(wsBase string) STTOption
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 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 (*STT) Capabilities ¶ added in v0.4.2
func (s *STT) Capabilities() stt.STTCapabilities
func (*STT) InputSampleRate ¶ added in v0.4.2
type STTOption ¶ added in v0.4.2
type STTOption func(*STT)
func WithRtzrAPIBase ¶ added in v0.0.15
func WithRtzrAccessToken ¶ added in v0.0.15
func WithRtzrActiveThreshold ¶ added in v0.0.15
func WithRtzrClientSecret ¶ added in v0.0.15
func WithRtzrDomain ¶ added in v0.0.15
func WithRtzrEPDTime ¶ added in v0.0.15
func WithRtzrKeywords ¶ added in v0.0.15
func WithRtzrLanguage ¶ added in v0.0.15
func WithRtzrModel ¶ added in v0.0.15
func WithRtzrNoiseThreshold ¶ added in v0.0.15
func WithRtzrSampleRate ¶ added in v0.0.15
func WithRtzrUsePunctuation ¶ added in v0.0.15
func WithRtzrWSBase ¶ added in v0.0.15
Click to show internal directories.
Click to hide internal directories.