- Install required packages:
sudo apt install build-essential git cmake \
libspdlog-dev libconfig-dev libssl-dev \
libgstreamer1.0-dev libgstreamer-plugins-bad1.0-dev \
gstreamer1.0-plugins-good gstreamer1.0-plugins-bad gstreamer1.0-plugins-ugly gstreamer1.0-nice
- Build and install libwebsockets (at least v4.1 is required):
git clone https://github.com/warmcat/libwebsockets.git --branch v4.1-stable --depth 1
mkdir -p libwebsockets-build
cd libwebsockets-build
cmake -DLWS_WITH_GLIB=ON -DCMAKE_INSTALL_PREFIX:PATH=/usr ../libwebsockets
make -j4
sudo make install
cd -
- Build application:
git clone https://github.com/WebRTSP/MinimalReStreamer.git --recursive
mkdir -p MinimalReStreamer-build
cd MinimalReStreamer-build
cmake ../MinimalReStreamer
make -j4
cd -
- Run application:
cd MinimalReStreamer && ../MinimalReStreamer-build/MinimalReStreamer
- Open in browser
http://localhost:5080/