diff options
| author | monoguitari <113245090+monoguitari@users.noreply.github.com> | 2023-08-22 15:41:44 -0400 |
|---|---|---|
| committer | monoguitari <113245090+monoguitari@users.noreply.github.com> | 2023-08-22 15:41:44 -0400 |
| commit | e7362c2cdedf388b8be5a0ab077a72dd2c286d60 (patch) | |
| tree | c53979ee52dd84762a12dedfaf6c52ad77175887 /src/client/views/nodes/RecordingBox/RecordingView.tsx | |
| parent | 9293fd8c4128b41b31f9b2214d6799fdff0f2aaa (diff) | |
| parent | ec6a5f5d5684ca66cd21bb8fef91c86852dd126f (diff) | |
Merge remote-tracking branch 'origin/menu-shortcuts-4-jesus' into advanced-trails-2-jesus
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()); |
