summaryrefslogtreecommitdiff
path: root/app/client/live/reducer.js
diff options
context:
space:
mode:
Diffstat (limited to 'app/client/live/reducer.js')
-rw-r--r--app/client/live/reducer.js10
1 files changed, 10 insertions, 0 deletions
diff --git a/app/client/live/reducer.js b/app/client/live/reducer.js
index 2a6782c..8fa6edd 100644
--- a/app/client/live/reducer.js
+++ b/app/client/live/reducer.js
@@ -96,6 +96,14 @@ const liveReducer = (state = liveInitialState, action) => {
)
return state
+ case 'SAVING_VIDEO':
+ return {
+ ...state,
+ opt: {
+ ...state.opt,
+ savingVideo: true,
+ }
+ }
case 'SAVE_VIDEO':
FileSaver.saveAs(
action.blob,
@@ -108,6 +116,8 @@ const liveReducer = (state = liveInitialState, action) => {
opt: {
...state.opt,
recording: false,
+ savingVideo: false,
+ recordFrames: 0,
}
}