aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/nodes/RecordingBox/RecordingView.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/views/nodes/RecordingBox/RecordingView.tsx')
-rw-r--r--src/client/views/nodes/RecordingBox/RecordingView.tsx15
1 files changed, 4 insertions, 11 deletions
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>