clova

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.clova"
	PluginVersion = "1.5.15"
	PluginPackage = "rtp-agent.plugins.clova"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type ClovaSTT

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

func NewClovaSTT

func NewClovaSTT(secret, invokeURL string, opts ...ClovaSTTOption) *ClovaSTT

func (*ClovaSTT) Capabilities

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

func (*ClovaSTT) Label

func (s *ClovaSTT) Label() string

func (*ClovaSTT) Model added in v0.0.18

func (s *ClovaSTT) Model() string

func (*ClovaSTT) Provider added in v0.0.18

func (s *ClovaSTT) Provider() string

func (*ClovaSTT) Recognize

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

func (*ClovaSTT) Stream

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

type ClovaSTTOption added in v0.0.15

type ClovaSTTOption func(*ClovaSTT)

func WithClovaSTTLanguage added in v0.0.15

func WithClovaSTTLanguage(language string) ClovaSTTOption

func WithClovaSTTThreshold added in v0.0.15

func WithClovaSTTThreshold(threshold float64) ClovaSTTOption

type ClovaTTS

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

func NewClovaTTS

func NewClovaTTS(clientID, clientSecret, voice string) *ClovaTTS

func (*ClovaTTS) Capabilities

func (t *ClovaTTS) Capabilities() tts.TTSCapabilities

func (*ClovaTTS) Label

func (t *ClovaTTS) Label() string

func (*ClovaTTS) NumChannels

func (t *ClovaTTS) NumChannels() int

func (*ClovaTTS) SampleRate

func (t *ClovaTTS) SampleRate() int

func (*ClovaTTS) Stream

func (t *ClovaTTS) Stream(ctx context.Context) (tts.SynthesizeStream, error)

func (*ClovaTTS) Synthesize

func (t *ClovaTTS) Synthesize(ctx context.Context, text string) (tts.ChunkedStream, error)

type Plugin added in v0.0.15

type Plugin struct{}

func (Plugin) DownloadFiles added in v0.0.15

func (Plugin) DownloadFiles() error

Jump to

Keyboard shortcuts

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