Skip to content

Latest commit

 

History

History
33 lines (29 loc) · 999 Bytes

File metadata and controls

33 lines (29 loc) · 999 Bytes

How to build it from sources and run (Ubuntu 20.10)

  1. 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
  1. 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 -
  1. Build application:
git clone https://github.com/WebRTSP/MinimalReStreamer.git --recursive
mkdir -p MinimalReStreamer-build
cd MinimalReStreamer-build
cmake ../MinimalReStreamer
make -j4
cd -
  1. Run application: cd MinimalReStreamer && ../MinimalReStreamer-build/MinimalReStreamer
  2. Open in browser http://localhost:5080/