mirror of
https://github.com/m1k1o/neko.git
synced 2024-07-24 14:40:50 +12:00
#67 Revert "auto unmute on any control attempt #65."
This reverts commit 29359baf65
.
This commit is contained in:
parent
57af427c12
commit
0319455e55
@ -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.
|
||||||
|
@ -187,17 +187,11 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
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
|
|
||||||
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