From 0319455e550c37d95597410fe3336245fc1ec11c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miroslav=20=C5=A0ediv=C3=BD?= Date: Tue, 8 Jun 2021 21:32:10 +0200 Subject: [PATCH] #67 Revert "auto unmute on any control attempt #65." This reverts commit 29359baf6509141632da0d49f29abd6e7e2e0205. --- README.md | 2 +- client/src/app.vue | 12 +++--------- 2 files changed, 4 insertions(+), 10 deletions(-) diff --git a/README.md b/README.md index 346c905..91922ae 100644 --- a/README.md +++ b/README.md @@ -77,7 +77,7 @@ For n.eko room management software visit https://github.com/m1k1o/neko-rooms. - Arguments in broadcast pipeline are optional, not positional and can be repeated `{url} {device} {display}`. - Chat messages are dense, when repeated, they are joined together. - While IP address fetching is now proxy ignored. -- Start unmuted on reconnects and auto unmute on any control attempt. +- Start unmuted on reconnects. ### Roadmap & TODOs - Catch errors from gst pipeline, tell user if broadcast failed. diff --git a/client/src/app.vue b/client/src/app.vue index 314aedc..d555544 100644 --- a/client/src/app.vue +++ b/client/src/app.vue @@ -187,16 +187,10 @@ } controlAttempt() { - // auto unmute on any control attempt - if (this.$accessor.video.muted) { - this.$accessor.video.setMuted(false) - } + if (this.shakeKbd || this.$accessor.remote.hosted) return - // shake keyboard if not hosting - if (!this.shakeKbd && !this.$accessor.remote.hosted) { - this.shakeKbd = true - setTimeout(() => (this.shakeKbd = false), 5000) - } + this.shakeKbd = true + setTimeout(() => (this.shakeKbd = false), 5000) } get about() {