aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--client-web/scripts/gen_param_table.ts3
-rw-r--r--client-web/source/user/local.ts4
-rw-r--r--readme.md4
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) {
diff --git a/readme.md b/readme.md
index eb60e2e..b571d59 100644
--- a/readme.md
+++ b/readme.md
@@ -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