MCPcopy Create free account
hub / github.com/cactus-compute/cactus-react-native / handleAudioEmbed

Function handleAudioEmbed

example/src/STTScreen.tsx:64–72  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

62 };
63
64 const handleAudioEmbed = async () => {
65 if (!audioFile) {
66 return;
67 }
68 const embedResult = await cactusSTT.audioEmbed({
69 audioPath: audioFile,
70 });
71 setEmbeddingResult(embedResult);
72 };
73
74 const handleStop = () => {
75 cactusSTT.stop();

Callers

nothing calls this directly

Calls 1

audioEmbedMethod · 0.65

Tested by

no test coverage detected