Meet is a video call client running on a Raspberry Pi. The idea is to use a TV and an IR-controller for easy usage, so grandma can see the kids. It is using jitsi (and can be extended to others). The software is simply starting chromium in kiosk mode and translating IR controller commands to the browser. Settings can be done on local webpage of device (http://meet/).
For easy modification, the setup is descriped step by step for each Hardware module. First clone Repo:
git clone https://github.com/paschkel/MeetMeet is using standard raspberry pi camera. Enable camera and increade GPU Mem to 128 or 256
Raspberry Pi Camera worked directly in Chromium till Version 88. For latest Version of Chromium, following workaround is required: You can test, if that workaround is needed, by starting webrtc testpage or starting a jitsi meeting in chromium. If camera is working, skip next steps.
Install v4l2 Loopback:
sudo apt install v4l2loopback-dkmsAutostart script for Workaround:
- Move File "meet/camera/CameraWoraround.desktop" to "/home/pi/.config/autostart"
Hardware: TSOP4838 or similar, data pin connected to pin 15.
Define IR-Pin in "/boot/config.txt"
sudo nano /boot/config.txtDefine pin 15 for IR-Receiver
dtoverlay=gpio-ir,gpio_pin=15Install IR-Keytable
sudo apt-get install ir-keytableHardware: I2S microphone, like SPH0645LM4H or INMP441 Installation of I2S Microphone Microphone in browser is not working with Pulseausio, just ALSA is required. So first step is to remove Pulseaudio:
sudo apt-get --purge remove pulseaudiosudo rebootInstall ALSA (maybe it is already there)
sudo apt-get install libasound2 alsa-utils alsa-osssudo rebootInstall Microphone [1]
sudo apt install python3-pipsudo pip3 install --upgrade adafruit-python-shellwget https://raw.githubusercontent.com/adafruit/Raspberry-Pi-Installer-Scripts/master/i2smic.pysudo python3 i2smic.pysudo rebootCreate Volume Controll for new Input. Add folloing file and paste content off "meet/audio/asound.conf". Save and exit file.
sudo nano /etc/asound.confBefore volume controll is operating you need to acces input first. You can stop recording with CTL-Break.
arecord -D dmic_sv -c2 -r 44100 -f S32_LE -t wav -V mono -v file.wavUser Mixer to adjust Volume. Press F6 to selct Sound card and F4 to selct capture. Adjust voluem to 9dB
alsamixer
After system update, it could be that microphone is not working. Please run following script to reinstall it.
sudo ./i2smic.shTo see device name on TV for port selection, define OSD name in config.txt:
sudo nano /boot/config.txtcec_osd_name=MeetWork in Process
- Hotplug???
To Autostart MeetApp, move File "meet/meet.desktop" to "/home/pi/.config/autostart"
Install XDO-Tool (used to send Keys to browser for Mute, Video Off, etc.)
sudo apt-get install xdotoolInstall WiringPi (if not already there). Wiring Pi is required to driver LED and Fan.
sudo apt-get install wiringpiWork in Process
- ON via remote controll
Define OFF-Pin in "/boot/config.txt"
sudo nano /boot/config.txt[1] Adafruit Website: https://learn.adafruit.com/adafruit-i2s-mems-microphone-breakout/raspberry-pi-wiring-test
[2] ..