Skip to main content
Version: 2.11

Record Streams To MinIO Storage Bucket

MinIO is an open-source, high-performance object storage system that adheres to the Amazon S3 API standards. It enables organizations to deploy scalable, cost-effective storage solutions on-premises or in the cloud. Unlike proprietary options like AWS S3 and Google Cloud Storage, MinIO offers greater control over infrastructure and customization, making it ideal for edge computing, hybrid cloud setups, and data-intensive applications. It supports seamless integration with existing S3-compatible tools and applications.

For this document, we installed MinIO on our Ubuntu Linux server. For installation, check here. We used single node and single drive option.

Once the installation is done and you are able to access the MinIO console on your browser with http://IP-or-domain:9001, follow below steps for integration with Ant Media Server.

  • First, go to Configuration and set the region. As MinIO uses the AWS S3 API's, you can define the same region names, like ap-south-1 for Asia Pacific, etc., as per your region. After setting the region, it will ask you to restart the server.

  • Once the region is set, go to Access Keys and generate one access key to use on the Ant Media Server to access the bucket.

  • Now, go to the buckets and create one S3 bucket. After the bucket is created, make sure that it is public.

  • Now, in order to record the stream to the MinIO bucket, enable the S3 recording option in application settings and add the required details according to your bucket information.

  • Once the stream is published and stopped, the recording will be uploaded to the bucket under the streams folder.

Now, in order to play the stream directly using the AMS mp4 URL, use the HTTP forwarding below.