How to store HLS streams recordings to AWS S3 bucket? #5090
-
I would like to use an AWS S3 bucket to store the stream recordings as HLS files. Also, how can I make sure that the HLS files do not get overwritten if using the same streamId? Thank you |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Thank you for asking this question.
More information about the s3 fuse can be found at https://github.com/s3fs-fuse/s3fs-fuse.
If you do not see this mount point in the output then there is some issue with the configuration. |
Beta Was this translation helpful? Give feedback.
Thank you for asking this question.
There are two methods for uploading recordings from AMS to the S3 bucket.
You can integrate the S3 bucket with AMS, and recordings will be uploaded whenever the stream is finished. For additional information, see the s3 integration document.
Use s3 fuse to upload the files to the bucket at the same time.
More information about the s3 fuse can be found at https://github.com/s3fs-fuse/s3fs-fuse.
You can also immediately mount your application's streams folder to your S3 bucket by following the instructions below:
sudo apt install s3fs