pckg_ksmp_max_uncomp_size
Sets the maximum uncompressed size for the Kaltura Segmented Media Protocol (KSMP).
Description
The pckg_ksmp_max_uncomp_size directive in the Kaltura Media Framework Common NGINX Module configures the upper limit on the size of uncompressed media segments transmitted using the Kaltura Segmented Media Protocol (KSMP). This parameter is crucial for managing resource utilization and ensuring smooth streaming performance by effectively controlling segment sizes passed between different media components. If the uncompressed size exceeds the specified value, the server may truncate the segment or handle it differently based on the implementation specifics set in other related configurations.
This directive is applicable in http, server, or location contexts, allowing administrators to determine segment size limits at various levels of configuration hierarchy. The parameter requires a single numeric argument that represents the maximum allowed uncompressed size, and its value directly affects how media is segmented and delivered to clients. Administrators must carefully assess their media delivery requirements to choose an appropriate size that balances performance and quality without introducing latency or buffering issues during playback.
Config Example
http {
pckg_ksmp_max_uncomp_size 1048576; # Set maximum uncompressed size to 1MB
}Setting this value too low may lead to performance degradation due to increased fragmenting of media segments.
Make sure this directive aligns with playback requirements to avoid compatibility issues with clients.
Check the overall architecture design to ensure that other components support the specified segment size.