no need to stop from server

This commit is contained in:
Jose B
2023-07-27 19:42:09 -05:00
parent f17d996f39
commit e68b6ced11
3 changed files with 4 additions and 5 deletions

View File

@@ -10,7 +10,7 @@ const App = () => {
// This is where you'd send the stream and receive the data from the server.
// transcription, summary, etc
const serverData = useWebRTC(stream, () => { });
const serverData = useWebRTC(stream);
const sendStopCmd = () => serverData?.peer?.send(JSON.stringify({ cmd: "STOP" }))