diff options
| author | Shawn <shawn@qwil.io> | 2023-05-24 15:22:02 +0100 |
|---|---|---|
| committer | Shawn <shawn@qwil.io> | 2023-05-24 15:22:02 +0100 |
| commit | 665e3f617f6b794b35be4a64ba7f99a5e7087696 (patch) | |
| tree | 0148facb5d2d033f9787d039d31cbb297b28a009 | |
| parent | fad37ea770376e4622387361e58fc73805094eb8 (diff) | |
added startAudioOnly
| -rw-r--r-- | index.html | 13 |
1 files changed, 13 insertions, 0 deletions
@@ -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 |
