update docs

This commit is contained in:
deflax 2021-10-10 20:35:30 +00:00
parent c2affcd87e
commit 4f7e79feac
2 changed files with 12 additions and 10 deletions

View file

@ -2,8 +2,11 @@
## How to run ## How to run
1. Install Docker 1. `apt install docker.io docker-compose`
2. `docker-compose build` 2. `docker-compose build`
3. `docker-compose up` 3. `./gen-selfsigned.sh`
4. Open OBS and in settings set the server to `rtmp://fqdn:1935/live` and the stream key to `live?key=supersecret` 4. `docker-compose up`
5. Open a browser and go to `https://fqdn` to view your live stream! 5. `./issue-certificate.sh example.com info@example.com`
6. Encoder server = `rtmp://example:1935/live` key = `live?key=supersecret`
7. Open a browser and go to `https://example.com` to view your live stream via hls.js

View file

@ -64,9 +64,8 @@ backend vod_web
backend vod_rtmp backend vod_rtmp
mode tcp mode tcp
balance roundrobin balance roundrobin
stick store-request src #stick store-request src
stick-table type ip size 200k expire 20m #stick-table type ip size 200k expire 20m
stick on src #stick on src
source 0.0.0.0 usesrc clientip #source 0.0.0.0 usesrc clientip
server rr1 rtmp:1935 check maxconn 200 weight 10 server rr1 rtmp:1935 check maxconn 200