mirror of
https://github.com/Monadical-SAS/reflector.git
synced 2025-12-22 05:09:05 +00:00
no need to stop from server
This commit is contained in:
@@ -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" }))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user