Skip to content

Live Stream Archiving

Isaac edited this page Jul 21, 2022 · 1 revision

How To

  1. Ensure the channel you wish to live streams from is in the database. If not, create the channel by visiting the admin channel page and creating the platform specific channel.
  2. Visit the admin live page, and add the channel to the list of "live watched channels". Options can be specified such as resolution and if chat should be archived.

Information

  • Live watched channels are checked every 5 minutes, configurable by changing live_check_interval in the config.

Frequently Asked Questions

What happens if the streamer loses power while streaming?

Streamlink, the utility used to download the live streams, will detect there are no new video segments being sent. It will end both the video and chat download. The channel will be marked as offline in the Ganymede database. At the next live stream check interval it will check if the streamer is back up, if so archiving will start again.

What happens if the Ganymede container crashes

If the container crashes all temporary files being downloaded are deleted due to the files being saved in the container's /tmp directory. If you want to ensure no data will be lost if a crash does occur, I recommend mounting the container's /tmp directory in the docker-compose.yml file. If this is mounted and the container crashes, you will need to manually start the video convert and chat convert steps to archive the files. Live stream archiving will continue after the next live check interval time.