#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}`.
- 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.

View File

@ -187,17 +187,11 @@
}
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)
}
}
get about() {
return this.$accessor.client.about