Send data from the mp3 worker.

This commit is contained in:
Marcus Edel
2023-05-26 13:54:52 -04:00
parent e6d7998743
commit a5e00fe077
+1 -1
View File
@@ -36,7 +36,7 @@ function start(bufferSize) {
socket.send("handshake");
};
socket.onmessage = (event) => {
console.log(event.data);
self.postMessage({ command: "transcription", text: event.data});
};
if (options.encodeAfterRecord)