Frequently Asked Questions

Removing recorded files after they are copied up to a cloudstorage bucket

When using Cloud Storage, the recorded files are also stored locally on the server. They are not removed by the server process. It is recommended that you use a cron job to periodically clean up the local files. For example, this cron job would delete recordings that are over 2 days old:

0 2 * * * /usr/bin/find /tmp/live/streams/ -type f -mtime +2 -exec rm -rf {} \;
0 2 * * * /usr/bin/find /usr/local/red5pro/webapps/live/streams/ -type f -mtime +2 -exec rm -rf {} \;