From 92142bba66010a8792c00dc372228b92e151c8b3 Mon Sep 17 00:00:00 2001
From: Jenny Yu <jennyyu212@outlook.com>
Date: Wed, 4 May 2022 00:15:53 -0400
Subject: fix: removed clear previous button

---
 src/client/views/nodes/RecordingBox/RecordingView.tsx | 15 ++++-----------
 1 file changed, 4 insertions(+), 11 deletions(-)

(limited to 'src/client/views/nodes/RecordingBox/RecordingView.tsx')

diff --git a/src/client/views/nodes/RecordingBox/RecordingView.tsx b/src/client/views/nodes/RecordingBox/RecordingView.tsx
index a2a08f5b8..e5f6deca2 100644
--- a/src/client/views/nodes/RecordingBox/RecordingView.tsx
+++ b/src/client/views/nodes/RecordingBox/RecordingView.tsx
@@ -48,13 +48,8 @@ export function RecordingView(props: IRecordingViewProps) {
 
 
       const DEFAULT_MEDIA_CONSTRAINTS = {
-            // video: true,
-            // audio: true
-            video: {
-                  width: 1280,
-                  height: 720,
-            },
-            // audio: true,
+            video: true,
+            audio: true,
             // audio: {
             //       echoCancellation: true,
             //       noiseSuppression: true,
@@ -84,8 +79,6 @@ export function RecordingView(props: IRecordingViewProps) {
                               }
                         })
 
-                  //     this.dataDoc[this.fieldKey + "-duration"] = (new Date().getTime() - this.recordingStart!) / 1000;
-
             }
 
 
@@ -275,9 +268,9 @@ export function RecordingView(props: IRecordingViewProps) {
                                     {!recording && videos.length > 0 ?
 
                                           <div className="video-edit-wrapper">
-                                                <IconContext.Provider value={{ color: "grey", className: "video-edit-buttons" }}>
+                                                {/* <IconContext.Provider value={{ color: "grey", className: "video-edit-buttons" }}>
                                                       <MdBackspace onClick={clearPrevious} />
-                                                </IconContext.Provider>
+                                                </IconContext.Provider> */}
                                                 <IconContext.Provider value={{ color: "#cc1c08", className: "video-edit-buttons" }}>
                                                       <FaCheckCircle onClick={stop} />
                                                 </IconContext.Provider>
-- 
cgit v1.2.3-70-g09d2

