Your app is almost ready. You will need to use the following credentials.
I recommend adding them to your ~/.netrc
file (or
_netrc
on Windows).
machine {{ request.host }} login {{ username }} password {{ password }}
In order to prevent your app from sleeping, please go to the scheduler add-on settings and create a job with the following options:
offstream ping
Now your app will be up 24/7. You can save some dyno hours by changing
the ping_start_hour
and
ping_end_hour
settings to let it sleep when no one is
streaming. For example, to keep your app awake only between 12pm and
7pm, run the following command. Note that the timezone is specified by
the TZ
environment variable.
$ curl {{ url_for("update_settings", _external=True) }} --netrc -d ping_start_hour=12 -d ping_end_hour=19
Next, add your favorite streamers.
$ curl {{ url_for("create_streamer", _external=True) }} --netrc -d name=garybernhardt $ curl {{ url_for("create_streamer", _external=True) }} --netrc -d name=esl_sc2 -d max_quality=720p60
When any of the streamers goes live, the app will record the stream.
To see what's available, check your RSS feed.
$ curl {{ url_for("rss", _external=True) }}
To watch the latest recording, open the following URL in mpv, VLC, QuickTime, or any other video player.
$ mpv {{ url_for("latest_stream", name="esl_sc2", _external=True) }}
If you have a question or ran into a problem, please create an issue on GitHub.