Skip to content
Snippets Groups Projects
Commit 8d26a751 authored by Daniel Müller's avatar Daniel Müller :speech_balloon:
Browse files

Improve automute

parent e584faa1
Branches master
No related tags found
No related merge requests found
......@@ -52,15 +52,23 @@ function isMuted() {
// Force mute for 2.5 seconds after joining
while (new Date() - tStart < 2500) {
// Ensure that the microphone is muted after joining
while (isMuted() != true) {
while (isMuted() == false) {
getMuteButton()?.click();
await sleep(100);
await sleep(500);
}
await sleep(100);
}
// Ensure that the microphone is muted after joining
while (isMuted() == false) {
getMuteButton()?.click();
await sleep(500);
}
// Increase the waitTime after the initial connection
waitTime = 500;
await sleep(waitTime);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment