Documentation
¶
Index ¶
- Constants
- type ClovaSTT
- func (s *ClovaSTT) Capabilities() stt.STTCapabilities
- func (s *ClovaSTT) Label() string
- func (s *ClovaSTT) Model() string
- func (s *ClovaSTT) Provider() string
- func (s *ClovaSTT) Recognize(ctx context.Context, frames []*model.AudioFrame, language string) (*stt.SpeechEvent, error)
- func (s *ClovaSTT) Stream(ctx context.Context, language string) (stt.RecognizeStream, error)
- type ClovaSTTOption
- type ClovaTTS
- func (t *ClovaTTS) Capabilities() tts.TTSCapabilities
- func (t *ClovaTTS) Label() string
- func (t *ClovaTTS) NumChannels() int
- func (t *ClovaTTS) SampleRate() int
- func (t *ClovaTTS) Stream(ctx context.Context) (tts.SynthesizeStream, error)
- func (t *ClovaTTS) Synthesize(ctx context.Context, text string) (tts.ChunkedStream, error)
- type Plugin
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
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 (*ClovaTTS) Capabilities ¶
func (t *ClovaTTS) Capabilities() tts.TTSCapabilities
func (*ClovaTTS) NumChannels ¶
func (*ClovaTTS) SampleRate ¶
func (*ClovaTTS) Synthesize ¶
Click to show internal directories.
Click to hide internal directories.