diff options
author | monoguitari <113245090+monoguitari@users.noreply.github.com> | 2023-08-19 08:53:11 -0400 |
---|---|---|
committer | monoguitari <113245090+monoguitari@users.noreply.github.com> | 2023-08-19 08:53:11 -0400 |
commit | ec6a5f5d5684ca66cd21bb8fef91c86852dd126f (patch) | |
tree | c6c6de5490137e2e9d79f335831adc21ce109385 /src/client/views/nodes/RecordingBox/RecordingView.tsx | |
parent | 40a39db25646b513c25554a2abdf35ef977500a8 (diff) |
Revert "Revert "Revert "Revert "Toggling icon for mic and added webcapturedoc to dropdown""""
This reverts commit 40a39db25646b513c25554a2abdf35ef977500a8.
Diffstat (limited to 'src/client/views/nodes/RecordingBox/RecordingView.tsx')
-rw-r--r-- | src/client/views/nodes/RecordingBox/RecordingView.tsx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/client/views/nodes/RecordingBox/RecordingView.tsx b/src/client/views/nodes/RecordingBox/RecordingView.tsx index 0e386b093..8c0f5efef 100644 --- a/src/client/views/nodes/RecordingBox/RecordingView.tsx +++ b/src/client/views/nodes/RecordingBox/RecordingView.tsx @@ -163,8 +163,9 @@ export function RecordingView(props: IRecordingViewProps) { // if this is called, then we're done recording all the segments const finish = () => { // call stop on the video recorder if active + console.log(videoRecorder.current?.state); videoRecorder.current?.state !== 'inactive' && videoRecorder.current?.stop(); - + console.log("this it") // end the streams (audio/video) to remove recording icon const stream = videoElementRef.current!.srcObject; stream instanceof MediaStream && stream.getTracks().forEach(track => track.stop()); |