Distributed Video-IoT framework to support modern demands for high fidelity, high throughput, automatable video feeds with support for IoT data annotated video streams
- Build the docker image. This will trigger a multistage docker build, building ffmpeg and nginx, and deploy the two on an alpine linux image.
docker-compose build
- Set the necessary environment variables (username, password, db addresses, etc).
- Bring up the two containers for the main server (lb) and the database(db).
docker-compose up lb db
- Exec into the lb container and run the server, either as a daemon or on a tmux session.
docker exec -it vid-iot_lb_l
cd vidiot
./scripts/start_all_tmux.sh
- The video server should be running and can be attached to by issuing
tmux a -t LB
tmux a -t O
- A test suite is provided and can be run from inside the LB container. This will test a simple end to end flow.
python tests/testSuite.py VidTest.test_simpleFlow