Skip to content

Instantly share code, notes, and snippets.

@klaxa

klaxa/config.ini Secret

Last active May 14, 2018 13:59
Show Gist options
  • Save klaxa/44ae10accbbb2feef3ffd043d60fdf57 to your computer and use it in GitHub Desktop.
Save klaxa/44ae10accbbb2feef3ffd043d60fdf57 to your computer and use it in GitHub Desktop.
[my_stream]
bind_address=127.0.0.1
port=8080
input=/path/to/file.mkv
formats=mkv,hls,dash
{
"stream_name": "my_stream",
"bind_address": "127.0.0.1",
"port": 8080,
"input": "/path/to/file.mkv",
"formats": [ "mkv", "hls", "dash" ]
}
Request stream as: http://<address>:<port>/<streamname>/<format>
For example: http://127.0.0.1:8080/my_stream/mkv
Or http://127.0.0.1:8080/my_stream/hls
This should redirect to a generated playlist file, same with dash.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment