On Wed, Jan 12, 2022 at 1:37 AM Jake wrote:
I've set up a jitsi terminal on the wall in
Sudoroom!
It's a big TV made by Hitachi, and it has a feature where it can go into
"power saving" mode when the HDMI signal is lost. That means the screen
can power down when DPMS puts the monitor to "sleep". It has a webcam
that's clearly labeled, and on a hinge so it can easily be aimed down at
the floor if people are shy, and it has a Jabra USB speaker/microphone
thing which should hopefully provide good speakerphone functionality. I
have the computer setup to start firefox, and i have firefox set to open
the jitsi page, where permissions are already enabled for webcam/audio.
The only remaining need is to automatically wake the monitor from sleep
(using "DISPLAY=:0 xset force dpms on") whenever there is anyone else
detected in the jitsi "room"
I wrote a short program that can trigger a command based on downstream
bandwidth usage:
https://github.com/sudoroom/bw-trigger
So it turned out that the library I used doesn't really work for UDP :/
The correct solution is definitely to have a client that joins with XMPP.
Information is sparse but I found this code that I believe is for
stress-testing that should be modifiable into what we need: