handler

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jul 28, 2024 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BinaryMessageHandler

func BinaryMessageHandler(msg []byte, tempDirPath string, ffmpegPath string, rec *vosk.VoskRecognizer, conn *websocket.Conn, wg *sync.WaitGroup)

Types

type CaptionResult

type CaptionResult struct {
	End, Start struct {
		Index int
		Time  float64
	}
	Text string
}

type VoiceRecognitionResult

type VoiceRecognitionResult struct {
	Result []struct {
		Conf, End, Start float64
		Word             string
	}
	Text string
}

Jump to

Keyboard shortcuts

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