kmp_rtmp_out_max_process_delay
Limits the maximum delay for processing outgoing RTMP streams in the Kaltura Media Framework.
Description
The kmp_rtmp_out_max_process_delay directive is an essential configuration option for managing the performance of RTMP stream outputs within the Kaltura Media Framework. It specifies the maximum allowable delay in processing outgoing RTMP streams, allowing administrators to optimize stream responsiveness. By setting a limit on this delay, the directive helps ensure that streams are delivered to clients in a timely manner, which is particularly crucial in live streaming scenarios where delays can disrupt the viewing experience.
To utilize this directive effectively, an integer value representing the delay in milliseconds should be provided as the argument. For instance, a value of 200 would set the maximum processing delay to 200 milliseconds. This setting works in conjunction with other buffering and processing directives to manage resources effectively. If the outgoing stream processing exceeds the specified delay, the system will apply optimizations or drop frames to maintain the defined latency.
The behavior of kmp_rtmp_out_max_process_delay is particularly relevant when servers experience high traffic or processing loads, as it automatically adjusts streaming performance without requiring manual intervention from the operator. However, it's essential to set an appropriate value that balances performance and video quality to avoid excessive rebuffering or dropped frames. By fine-tuning this directive, administrators can greatly enhance the streaming quality and user experience across various media scenarios.
Config Example
stream {
server {
kmp_rtmp_out_max_process_delay 200;
}
}Setting the delay too low may cause frames to drop, degrading the video quality.
If not configured correctly in high-load scenarios, it might lead to server performance issues.
Conflicts may arise if other buffering directives are set in opposition to this directive.