From b4817b886a89d2ac636cce9d930574e94119747e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miroslav=20=C5=A0ediv=C3=BD?= Date: Sat, 7 Nov 2020 20:12:13 +0100 Subject: [PATCH] publish neko state. --- src/app.vue | 84 ++++++++++++++++++++++++++++----------- src/components/canvas.vue | 52 ++++++++++++++++++++++-- src/types/state.ts | 2 + 3 files changed, 111 insertions(+), 27 deletions(-) diff --git a/src/app.vue b/src/app.vue index f30772d3..51ad50a5 100644 --- a/src/app.vue +++ b/src/app.vue @@ -2,23 +2,50 @@
- - -
- W:
- H:
- -
- + + + + + + + + +
is connected{{ neko.connected ? 'yes' : 'no' }}
is contolling{{ is_controlling ? 'yes' : 'no' }}
websocket state{{ neko.state.websocket }}
webrtc state{{ neko.state.webrtc }}
+ +
- +