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