Directly stream a webcam into a jitsi room.
Intended to run headless on a Raspberry Pi
-
Hardware: Raspberry Pi
- Runs fine with a 720p cam on a Pi 2
-
OS: Raspberry Pi OS Lite
-
Software:
- chromium
- chromium-codecs-ffmpeg
- npm
- puppeteer
-
Script:
- stream.js (from this repo)
Run on Pi:
sudo apt-get update
sudo apt-get install chromium chromium-codecs-ffmpeg npm git
npm i puppeteer
git clone https://github.com/yggi/cam2jitsi.git
Set the default jitsi link and screen name in stream.js:
vi cam2jitsi/stream.js
node cam2jitsi/stream.js <JITSI-LINK> <NAME>
Add to rc.local (before final "exit 0" line):
node /home/pi/cam2jitsi/stream.js <JITSI-LINK> <NAME> &
- Original puppeteer script by saghul
- Running puppeteer on raspian by Sami C.
- Jitsi url options
Released as Public Domain under CC0-License