Sample senders and receivers to be used with the Switchboard project.
https://github.com/felixlapierre/switchboard
- Python 3.7.3+
- ffmpeg 4.1.6+
- srt-live-transmit 1.4.2+
-
Create your virtual environment and install the required packages
python -m venv env
source env/bin/activate
(orenv\Scripts\activate.bat
for Windows users)
pip install -r requirements.txt
-
Change directory to src
cd src
-
Edit the configuration file to choose which camera to use
vi config.json
- To list all available video devices, run the following command:
ffmpeg -list_devices true -f dshow -i dummy
- To list all available video devices, run the following command:
-
Run the video receiver
python receiver-ui.py
-
Run the video sender
python sender-ui.py