vod-rtmp/README.md
2021-10-11 02:40:12 +00:00

996 B

vod-rtmp

How to run

  1. apt install docker.io docker-compose
  2. docker-compose build
  3. ./gen-selfsigned.sh - generate self signed haproxy cert for bootstraping
  4. docker-compose up -d
  5. ./issue-certificate.sh example.com info@example.com - issue LE production certificate
  6. cp docker-compose.yml.dist docker-compose.yml and edit the env variables
  7. cd config/frontend && cp config.yml.dist config.yml and edit the variables
  8. After each config updates you can use the following command to start everything: docker-compose down ; docker-compose build; docker-compose up -d ; docker-compose logs --follow

Setup client

  1. Encoder server = rtmp://example:1935/live/ key = stream?pass=supersecret
  2. Open a browser and go to https://example.com to view your live stream via flv.js

Powered by