define zom.bi frontend config

This commit is contained in:
deflax 2021-10-10 22:53:15 +00:00
parent 5aea4d36bb
commit 0bc61708f3
3 changed files with 36 additions and 1 deletions

View file

@ -0,0 +1,25 @@
# This is the title and Subtitle displayed on the Head of the Page
pagetitle: vod-rtmp
subtitle: v1
# the footer
footer: "© 2021 by the zom.bi Team"
# the ip or hostname used to generate rtmp URLs
rtmp_base: stream.example.com
# this is the base url used to generate internal links
base_url: 127.0.0.1:5001
# the url to the nginx servers status page.
# this is used for discovering the running streams
# if you are running the docker-compose setup you don't need to change that.
stat_url : http://nginx-rtmp:18080/stat
# web protocol - used for generating hls and internal links.
# change this to https if you are using https for example via traefik in front of this setup
web_proto: http
# if you want to add another template you can place it in the "templates" folder
# leave it at "default" to use the included default template
template_folder: default

10
config/frontend/uwsgi.ini Normal file
View file

@ -0,0 +1,10 @@
[uwsgi]
master = true
socket = 0.0.0.0:5001
lazy-apps = true
processes = 4
threads = 2
protocol = http
wsgi-file = app.py
callable = web
offload-threads = 4

View file

@ -107,7 +107,7 @@ rtmp {
## These option go beyond the scope of this configuration file as it contains lots of info. Please visit this url for more info: ##
## https://github.com/arut/nginx-rtmp-module/wiki/Directives#notify ##
publish_notify on; ## on|off. Send "NetStream.Play.PublishNotify" & "NetStream.Play.UnpublishNotify" to subscribers. Default=off
on_publish http://auth:8081/auth;
on_publish http://auth:8081/;
notify_method get;
# on_play http://www.example.com/plugin/Live/on_play.php;
# on_record_done http://www.example.com/plugin/Live/on_record_done.php';