diff options
author | mehekj <mehek.jethani@gmail.com> | 2021-07-19 16:21:33 -0400 |
---|---|---|
committer | mehekj <mehek.jethani@gmail.com> | 2021-07-19 16:21:33 -0400 |
commit | 618062ac7c2349dbc25cc69d8683d6e29ed947e8 (patch) | |
tree | 37079834f2becda983d6fe3053ec80207873a94f /src/client/views/nodes/ScreenshotBox.tsx | |
parent | dced40cd975732c2c98f230a6c750af54ffdabd4 (diff) | |
parent | 212d49772c1c2aa3d0a9382ef144dc3037faa8c2 (diff) |
Merge branch 'master' into temporalmedia-mehek
Diffstat (limited to 'src/client/views/nodes/ScreenshotBox.tsx')
-rw-r--r-- | src/client/views/nodes/ScreenshotBox.tsx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client/views/nodes/ScreenshotBox.tsx b/src/client/views/nodes/ScreenshotBox.tsx index 252c029e4..700f8a7d3 100644 --- a/src/client/views/nodes/ScreenshotBox.tsx +++ b/src/client/views/nodes/ScreenshotBox.tsx @@ -252,8 +252,8 @@ export class ScreenshotBox extends ViewBoxAnnotatableComponent<ViewBoxAnnotatabl this.dataDoc.mediaState = "recording"; DocUtils.ActiveRecordings.push(this); } else { - this._audioRec.stop(); - this._videoRec.stop(); + this._audioRec?.stop(); + this._videoRec?.stop(); this.dataDoc.mediaState = "paused"; const ind = DocUtils.ActiveRecordings.indexOf(this); ind !== -1 && (DocUtils.ActiveRecordings.splice(ind, 1)); |