diff options
author | metamuffin <metamuffin@disroot.org> | 2022-09-10 22:57:59 +0200 |
---|---|---|
committer | metamuffin <metamuffin@disroot.org> | 2022-09-10 22:57:59 +0200 |
commit | 5fbc95284594ceca385019c74f82ea9371591531 (patch) | |
tree | 6e2d4b9fa2745e7711cb7928ebd6b4bf8521fd3c | |
parent | 33fe5396ec837c7ddfab32571027f2e43e6b7725 (diff) | |
download | keks-meet-5fbc95284594ceca385019c74f82ea9371591531.tar keks-meet-5fbc95284594ceca385019c74f82ea9371591531.tar.bz2 keks-meet-5fbc95284594ceca385019c74f82ea9371591531.tar.zst |
regenerate param table
-rw-r--r-- | client-web/scripts/gen_param_table.ts | 3 | ||||
-rw-r--r-- | client-web/source/user/local.ts | 4 | ||||
-rw-r--r-- | readme.md | 4 |
3 files changed, 7 insertions, 4 deletions
diff --git a/client-web/scripts/gen_param_table.ts b/client-web/scripts/gen_param_table.ts index cc9a5ac..7179d7e 100644 --- a/client-web/scripts/gen_param_table.ts +++ b/client-web/scripts/gen_param_table.ts @@ -1,4 +1,5 @@ -import { PrefDecl, PREF_DECLS } from "../source/preferences.ts"; +import { PREF_DECLS } from "../source/preferences/decl.ts"; +import { PrefDecl } from "../source/preferences/mod.ts"; console.log(`Option name|Type|Default|Description`); console.log(`---|---|---|---`); diff --git a/client-web/source/user/local.ts b/client-web/source/user/local.ts index 6fae710..c58af2a 100644 --- a/client-web/source/user/local.ts +++ b/client-web/source/user/local.ts @@ -121,9 +121,7 @@ export class LocalUser extends User { const destination = context.createMediaStreamDestination() const gain = context.createGain() gain.gain.value = PREFS.microphone_gain - const clear_gain_cb = on_pref_changed("microphone_gain", () => { - gain.gain.value = PREFS.microphone_gain - }) + const clear_gain_cb = on_pref_changed("microphone_gain", () => gain.gain.value = PREFS.microphone_gain) let rnnoise: RNNoiseNode; if (PREFS.rnnoise) { @@ -54,6 +54,7 @@ Booleans can be either `1`, `true`, `yes` or their opposites. | -------------------------- | ------- | ----------- | -------------------------------------------------------------------- | | `username` | string | `"guest-…"` | Username | | `warn_redirect` | boolean | `false` | Interal option that is set by a server redirect. | +| `image_view_popup` | boolean | `true` | Open image in popup instead of new tab | | `microphone_enabled` | boolean | `false` | Add one microphone track on startup | | `screencast_enabled` | boolean | `false` | Add one screencast track on startup | | `camera_enabled` | boolean | `false` | Add one camera track on startup | @@ -65,6 +66,9 @@ Booleans can be either `1`, `true`, `yes` or their opposites. | `camera_facing_mode` | string | - | Prefer user-facing or env-facing camera (`"environment"` / `"user"`) | | `auto_gain_control` | boolean | - | Automatically adjust mic gain | | `echo_cancellation` | boolean | - | Cancel echo | +| `notify_chat` | boolean | `true` | Send notifications for incoming chat messages | +| `notify_join` | boolean | `true` | Send notifications when users join | +| `notify_leave` | boolean | `true` | Send notifications when users leave | ## Todo-List |