Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
B
BBB Echotest Autojoin - Userscript
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Daniel Müller
BBB Echotest Autojoin - Userscript
Commits
e584faa1
Commit
e584faa1
authored
3 years ago
by
Daniel Müller
Browse files
Options
Downloads
Patches
Plain Diff
Improve mute after join
parent
1e5a6a7e
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
bbb-echotest-autojoin.user.js
+11
-7
11 additions, 7 deletions
bbb-echotest-autojoin.user.js
with
11 additions
and
7 deletions
bbb-echotest-autojoin.user.js
+
11
−
7
View file @
e584faa1
// ==UserScript==
// ==UserScript==
// @name BBB Echotest Autojoin
// @name BBB Echotest Autojoin
// @version 0.2
// @version 0.2
.1
// @website https://code.fbi.h-da.de/istddmue2/bbb-echotest-autojoin-userscript
// @website https://code.fbi.h-da.de/istddmue2/bbb-echotest-autojoin-userscript
// @downloadURL https://code.fbi.h-da.de/istddmue2/bbb-echotest-autojoin-userscript/-/raw/master/bbb-echotest-autojoin.user.js
// @downloadURL https://code.fbi.h-da.de/istddmue2/bbb-echotest-autojoin-userscript/-/raw/master/bbb-echotest-autojoin.user.js
// @updateURL https://code.fbi.h-da.de/istddmue2/bbb-echotest-autojoin-userscript/-/raw/master/bbb-echotest-autojoin.user.js
// @updateURL https://code.fbi.h-da.de/istddmue2/bbb-echotest-autojoin-userscript/-/raw/master/bbb-echotest-autojoin.user.js
...
@@ -48,12 +48,16 @@ function isMuted() {
...
@@ -48,12 +48,16 @@ function isMuted() {
getEchotestAcceptButton
().
click
();
getEchotestAcceptButton
().
click
();
// Directly after connecting it might be muted for a short time before unmuting
let
tStart
=
new
Date
();
await
sleep
(
500
);
// Force mute for 2.5 seconds after joining
while
(
new
Date
()
-
tStart
<
2500
)
{
// Ensure that the microphone is muted after joining
while
(
isMuted
()
!=
true
)
{
getMuteButton
()?.
click
();
await
sleep
(
100
);
}
// Ensure that the microphone is muted after joining
while
(
isMuted
()
!=
true
)
{
getMuteButton
().
click
();
await
sleep
(
100
);
await
sleep
(
100
);
}
}
...
@@ -63,4 +67,4 @@ function isMuted() {
...
@@ -63,4 +67,4 @@ function isMuted() {
}
}
})();
})();
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment