input_delay

The input_delay directive configures a delay in processing input data for the Kaltura Media Framework.

Syntaxinput_delay delay_in_ms;
Defaultnone
Context
Arguments1

Description

The input_delay directive is specific to the Kaltura Media Framework, which is used for live video streaming. This directive introduces a defined time delay in handling incoming media data before it is processed. This can be beneficial in scenarios where synchronization is critical or where data must be buffered to improve the quality of streaming and reduce jitter. By enabling a delay, the directive allows for a smoother delivery of media content, especially during bursty network conditions where packets may arrive at irregular intervals.

The directive accepts a single argument which defines the delay duration in milliseconds. The behavior of this parameter can significantly influence how the streaming application performs, affecting latency and buffering. For example, a larger delay may enhance playback stability by providing a larger buffer at the cost of increased latency, while a smaller delay may reduce latency but could lead to interruptions or stuttering if the network is unreliable. This balance must be considered based on the application's requirements and the quality of the incoming streams.

Overall, input_delay is a critical directive that can help manage the complexities of live video streaming effectively, allowing streamers to tailor their setup according to the specific needs of their audience and network conditions.

Config Example

input_delay 300;

Make sure the delay is properly tuned to avoid excessive latency in streams.

Using an overly long delay may cause audience dissatisfaction, especially in live scenarios.

Remember that this setting is context-specific and may not be effective if set inappropriately.

← Back to all directives