- Install required packages:
sudo apt install build-essential git cmake ninja-build \
libwebsockets-dev libspdlog-dev libconfig-dev libssl-dev \
gsoap libgsoap-dev libmicrohttpd-dev libnice-dev \
libgstreamer1.0-dev libgstreamer-plugins-bad1.0-dev \
gstreamer1.0-plugins-good gstreamer1.0-plugins-bad gstreamer1.0-plugins-ugly gstreamer1.0-nice
- Install Node.js according to ttps://nodejs.org/en/download
- Build application:
git clone https://github.com/WebRTSP/ReStreamer.git --recursive
mkdir -p ReStreamer-build
cd ReStreamer-build
cmake ../ReStreamer
make -j4
cd -
- Prepare config:
cp ReStreamer/restreamer.conf.sample ~/.config/restreamer.conf - [optional] Edit config:
vim ~/.config/restreamer.conf - Run application:
cd ReStreamer && ../ReStreamer-build/ReStreamer - Open in browser
http://localhost:5080/