mirror of
https://github.com/Monadical-SAS/reflector.git
synced 2025-12-20 20:29:06 +00:00
Re-added WebRTC "STOP" command
This commit is contained in:
@@ -24,6 +24,7 @@ const App = () => {
|
||||
<Recorder
|
||||
setStream={setStream}
|
||||
onStop={() => {
|
||||
webRTC?.peer?.send(JSON.stringify({ cmd: "STOP" }));
|
||||
setStream(null);
|
||||
}}
|
||||
/>
|
||||
|
||||
Reference in New Issue
Block a user