store_s3_block

The `store_s3_block` directive configures NGINX to store incoming video data in blocks for processing via the Kaltura Media Framework.

Syntaxstore_s3_block block;
Defaultnone
Context
Argumentsblock (1)

Description

The store_s3_block directive is specifically designed for video streaming applications utilizing the Kaltura Media Framework. By enabling this directive, NGINX will save incoming video streams directly to a specified Amazon S3 bucket in a block format. This allows for efficient storage and management of media files that are often large in size. The directive accepts a block of configurations that define parameters such as the target S3 bucket and related settings to optimize the storage process.

When you use the store_s3_block directive, it effectively transforms NGINX into a powerful facilitator of both streaming and media storage. This directive plays a critical role in environments where media content needs to be dynamically processed and stored for later retrieval or editing. The implementation typically involves combining this directive with other Kaltura-specific settings to ensure seamless integration with the entire media workflow, from ingestion to playback.

In short, leveraging the store_s3_block directive allows NGINX to efficiently manage storage needs for media applications, especially within a distributed environment where real-time media processing and S3 storage are vital for performance and reliability.

Config Example

store_s3_block {
    bucket my-s3-bucket;
    path /video/stream;
    region us-east-1;
};
⚠

Ensure that the specified S3 bucket is correctly configured for access permissions.

⚠

Check the network latency when streaming to reduce any potential performance bottlenecks.

⚠

Verify that the S3 bucket region matches the region specified in the configuration to avoid cross-region issues.

← Back to all directives