kmp_rtmp_in_dump_folder

The `kmp_rtmp_in_dump_folder` directive specifies the directory where RTMP input streams should be dumped for the Kaltura Media Framework.

Syntaxkmp_rtmp_in_dump_folder path;
Defaultnone
Contextstream, stream server
Arguments1

Description

The kmp_rtmp_in_dump_folder directive is part of the Kaltura Media Framework Common NGINX module and is used in the context of streaming and stream server configurations. This directive takes a single parameter that defines the path to the folder where RTMP input streams are to be dumped. When an RTMP stream is received, the contents are saved in this specified directory, allowing for subsequent processing or archiving.

Utilizing this directive allows administrators to manage input streams effectively by creating a dedicated storage location. This functionality can assist in scenarios like troubleshooting or post-processing for streams that need to be revisited after live transmission. However, it is essential to ensure that the specified directory has the proper permissions for the NGINX process to write files, and disk space is adequately monitored to avoid overruns during heavy usage.

When utilizing the kmp_rtmp_in_dump_folder, make sure that the path is fully specified and accessible to the NGINX worker processes. It is critical to note that storing streams can consume significant disk space depending on stream duration and frequency, so appropriate housekeeping measures should be employed to manage the stored data periodically.

Config Example

stream {
    server {
        listen 1935;
        kmp_rtmp_in_dump_folder /var/www/rtmp_dumps;
    }
}

Ensure the specified dump folder has correct write permissions set for the user running the NGINX service.

Monitor disk space regularly to avoid issues with overflow when hosting multiple streams in a short time period.

← Back to all directives