diff options
author | bobzel <zzzman@gmail.com> | 2023-08-29 12:55:49 -0400 |
---|---|---|
committer | bobzel <zzzman@gmail.com> | 2023-08-29 12:55:49 -0400 |
commit | 349e586b01b18c641a4c753b709f4217a3f3e528 (patch) | |
tree | 81794fd08d3f2143c2df6e2d52a1203a9b45971d /src/client/views/nodes/RecordingBox/RecordingView.tsx | |
parent | 936382c5cdc9f21ecd3d6b643da986bd30fc1e19 (diff) |
cleanup
Diffstat (limited to 'src/client/views/nodes/RecordingBox/RecordingView.tsx')
-rw-r--r-- | src/client/views/nodes/RecordingBox/RecordingView.tsx | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/client/views/nodes/RecordingBox/RecordingView.tsx b/src/client/views/nodes/RecordingBox/RecordingView.tsx index 755f1adc0..f7ed82643 100644 --- a/src/client/views/nodes/RecordingBox/RecordingView.tsx +++ b/src/client/views/nodes/RecordingBox/RecordingView.tsx @@ -9,7 +9,6 @@ import { Networking } from '../../../Network'; import { Presentation, TrackMovements } from '../../../util/TrackMovements'; import { ProgressBar } from './ProgressBar'; import './RecordingView.scss'; -import { ScriptingGlobals } from '../../../util/ScriptingGlobals'; export interface MediaSegment { videoChunks: any[]; @@ -164,9 +163,7 @@ 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()); |