-
Notifications
You must be signed in to change notification settings - Fork 4
Providers
jbvsmo edited this page Sep 6, 2014
·
2 revisions
Inside dss/providers_data are stored the configuration files for each stream providers. Three providers were added there for testing purposes (disabled by default).
To create your own provider, add a file my-provider-name.conf (This extension is configurable on DSS Settings).
Options:
[base]
enabled = yes
access = rtmp://pull-address:1935/someapp/{0}
identifier = SomeName
input_opt = -re
output_opt = -g 15 -c:v libx264 -b:v 100k -s 320x240 -f flv
thumbnail_local = true
[streams]
mode = db, lazy, download, cache, file, list, named
url = http://some-download-link/streams.js
parser = my_stream_parser.parser
file = cetrio_cam.json
keys = id, geo, name
list =
dbname =
[record]
enabled = yes
interval = 600
format = %Y-%m-%d_%H:%M:%S