mirror of
https://github.com/m1k1o/neko.git
synced 2024-07-24 14:40:50 +12:00
auto unmute on any control attempt #65.
This commit is contained in:
parent
305271916c
commit
29359baf65
@ -69,7 +69,7 @@ For n.eko room management software visit https://github.com/m1k1o/neko-rooms.
|
|||||||
- Added HEALTHCHECK to Dockerfile.
|
- Added HEALTHCHECK to Dockerfile.
|
||||||
- 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.
|
||||||
- Start unmuted on reconnects.
|
- Start unmuted on reconnects and auto unmute on any control attempt.
|
||||||
|
|
||||||
### Roadmap & TODOs
|
### Roadmap & TODOs
|
||||||
- Catch errors from gst pipeline, tell user if broadcast failed.
|
- Catch errors from gst pipeline, tell user if broadcast failed.
|
||||||
|
@ -187,11 +187,17 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
controlAttempt() {
|
controlAttempt() {
|
||||||
if (this.shakeKbd || this.$accessor.remote.hosted) return
|
// auto unmute on any control attempt
|
||||||
|
if (this.$accessor.video.muted) {
|
||||||
|
this.$accessor.video.setMuted(false)
|
||||||
|
}
|
||||||
|
|
||||||
|
// shake keyboard if not hosting
|
||||||
|
if (!this.shakeKbd && !this.$accessor.remote.hosted) {
|
||||||
this.shakeKbd = true
|
this.shakeKbd = true
|
||||||
setTimeout(() => (this.shakeKbd = false), 5000)
|
setTimeout(() => (this.shakeKbd = false), 5000)
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
get about() {
|
get about() {
|
||||||
return this.$accessor.client.about
|
return this.$accessor.client.about
|
||||||
|
Loading…
Reference in New Issue
Block a user