From 665e3f617f6b794b35be4a64ba7f99a5e7087696 Mon Sep 17 00:00:00 2001 From: Shawn Date: Wed, 24 May 2023 15:22:02 +0100 Subject: added startAudioOnly --- index.html | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'index.html') 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); @@ -333,6 +339,13 @@ +
+ + +
+