mirror of
https://github.com/Monadical-SAS/reflector.git
synced 2025-12-21 12:49:06 +00:00
Last touches for new audiowave integration
This commit is contained in:
@@ -18,11 +18,10 @@ const App = () => {
|
||||
.then(setStream)
|
||||
.catch((err) => console.error(err));
|
||||
} else if (!recording && serverData.peer) {
|
||||
serverData.peer.send(JSON.stringify({ cmd: 'STOP' }));
|
||||
serverData.peer.send(JSON.stringify({ cmd: "STOP" }));
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
const serverData = useWebRTC(stream, setIsRecording);
|
||||
|
||||
return (
|
||||
@@ -45,4 +44,4 @@ const App = () => {
|
||||
);
|
||||
};
|
||||
|
||||
export default App;
|
||||
export default App;
|
||||
|
||||
Reference in New Issue
Block a user