Skip to content
/ cam2jitsi Public

Puppeteer script to stream a webcam to a jitsi room.

License

Notifications You must be signed in to change notification settings

yggi/cam2jitsi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

cam2jitsi

Directly stream a webcam into a jitsi room.

Intended to run headless on a Raspberry Pi

Requirements

  • 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)

Installation

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

Configuration

Set the default jitsi link and screen name in stream.js:

vi cam2jitsi/stream.js

Execution

Manual Start

node cam2jitsi/stream.js <JITSI-LINK> <NAME>

Autostart

Add to rc.local (before final "exit 0" line):

node /home/pi/cam2jitsi/stream.js <JITSI-LINK> <NAME> &

References

License

Released as Public Domain under CC0-License

About

Puppeteer script to stream a webcam to a jitsi room.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published