Skip to content

Files

Latest commit

 

History

History
61 lines (52 loc) · 1.67 KB

README.md

File metadata and controls

61 lines (52 loc) · 1.67 KB

DDS

Run using Docker

$ git clone git@github.com:robofit/drone_server.git
$ cd drone_server/compose_files
$ docker-compose up

Build from scratch

Install dependencies

  • CMake >= 3.17
  • Boost
  • OpenSSL
  • OpenCV2 (libopencv)
$ sudo apt-get install make cmake yasm nasm pkg-config libssl-dev libboost-all-dev libx264-dev libavdevice-dev g++ libopencv-dev
  • FFMPEG build with at least libx264 enabled

    • Working solution is to build from source. Follow the official guide.

    • Configure ffmpeg with:

      $ ./configure --ld="g++" --enable-gpl --disable-programs --disable-static --enable-shared --enable-libx264

  • websocketpp

$ git clone git@github.com:zaphoyd/websocketpp.git
$ cd websocketpp
$ mkdir build
$ cd build
$ cmake ..
$ sudo make install
$ sudo apt-get install libmariadb-dev
$ git clone git@github.com:viaduck/mariadbpp.git
$ cd mariadbpp
$ git submodule update --init
$ mkdir build
$ cd build
$ cmake ..
$ sudo make install

Building

$ git clone git@github.com:robofit/drone_server.git
$ cd drone_server/src
$ mkdir build
$ cd build
$ cmake ..
$ make

Rtmp module inspired by cpp_media_server-1 which is licensed under MIT. Copyright (c) 2021 Alex.CR

The class contains a copy of json from Niels Lohmann which is licensed under MIT. Copyright (c) 2013-2022 Niels Lohmann