diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2018-05-21 22:05:51 +0200 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2018-05-21 22:05:51 +0200 |
| commit | 0a2bc7f1bf214b2099c1f8139a67288c10249565 (patch) | |
| tree | 64a855ca9468ff28f3dd01de88e2d2a1e142caa7 /app/client/live/player.js | |
| parent | 79751151d57176188ed36b0d718ac3aaad641afb (diff) | |
better messaging when saving video
Diffstat (limited to 'app/client/live/player.js')
| -rw-r--r-- | app/client/live/player.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/app/client/live/player.js b/app/client/live/player.js index 8ef1668..b39d717 100644 --- a/app/client/live/player.js +++ b/app/client/live/player.js @@ -14,7 +14,11 @@ export function startRecording(){ } export function stopRecording(){ + if (!recording) return recording = false + store.dispatch({ + type: 'SAVING_VIDEO', + }) videoWriter.compile(false, function(blob){ console.log(blob) store.dispatch({ |
