From c9fdaf31a1f06862946bd7c13155c71015d5332c Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Mon, 21 May 2018 19:55:16 +0200 Subject: statuses --- public/bundle.js | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'public/bundle.js') diff --git a/public/bundle.js b/public/bundle.js index 7a43c1b..4dfaeca 100644 --- a/public/bundle.js +++ b/public/bundle.js @@ -1147,6 +1147,16 @@ socket.on('frame', function (data) { img.src = url; }); +socket.on('status', function (data) { + console.log('got status', data.key, data.value); + switch (data.key) { + case 'processing': + break; + default: + break; + } +}); + setInterval(function () { _store.store.dispatch({ type: 'SET_FPS', -- cgit v1.2.3-70-g09d2