#67 Revert "auto unmute on any control attempt #65."

This reverts commit 29359baf65.
This commit is contained in:
Miroslav Šedivý 2021-06-08 21:32:10 +02:00
parent 57af427c12
commit 0319455e55
2 changed files with 4 additions and 10 deletions

View File

@ -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}`. - 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. - Chat messages are dense, when repeated, they are joined together.
- While IP address fetching is now proxy ignored. - 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 ### Roadmap & TODOs
- Catch errors from gst pipeline, tell user if broadcast failed. - Catch errors from gst pipeline, tell user if broadcast failed.

View File

@ -187,16 +187,10 @@
} }
controlAttempt() { controlAttempt() {
// auto unmute on any control attempt if (this.shakeKbd || this.$accessor.remote.hosted) return
if (this.$accessor.video.muted) {
this.$accessor.video.setMuted(false)
}
// shake keyboard if not hosting this.shakeKbd = true
if (!this.shakeKbd && !this.$accessor.remote.hosted) { setTimeout(() => (this.shakeKbd = false), 5000)
this.shakeKbd = true
setTimeout(() => (this.shakeKbd = false), 5000)
}
} }
get about() { get about() {