summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--index.html13
1 files changed, 13 insertions, 0 deletions
diff --git a/index.html b/index.html
index 1682da9..1140e6d 100644
--- a/index.html
+++ b/index.html
@@ -79,6 +79,7 @@
// Handle feature changes
const $disablePrejoinPage = $("#disablePrejoinPage");
+ const $audioOnly = $("#audioOnly");
const $startAudioMuted = $("#startAudioMuted");
const $startVideoMuted = $("#startVideoMuted");
const $disableFaceCentering = $("#disableFaceCentering");
@@ -94,6 +95,10 @@
paramGroup['config.prejoinConfig.enabled'] = false;
}
+ if ($audioOnly.prop('checked')) {
+ paramGroup['config.startAudioOnly'] = true;
+ }
+
if ($startAudioMuted.prop('checked')) {
paramGroup['config.startWithAudioMuted'] = true;
}
@@ -123,6 +128,7 @@
}
$disablePrejoinPage.on("input", featureChanged);
+ $audioOnly.on("input", featureChanged);
$startAudioMuted.on("input", featureChanged);
$startVideoMuted.on("input", featureChanged);
$disableFaceCentering.on("input", featureChanged);
@@ -334,6 +340,13 @@
</div>
<div class="form-check mb-4">
+ <input class="form-check-input" type="checkbox" value="" id="audioOnly">
+ <label class="form-check-label" for="audioOnly">
+ Audio-only meeting (does not send or receive video)
+ </label>
+ </div>
+
+ <div class="form-check mb-4">
<input class="form-check-input" type="checkbox" value="" id="startAudioMuted">
<label class="form-check-label" for="startAudioMuted">
Start with Audio Muted