input_delay_margin

The 'input_delay_margin' directive configures a time margin to manage delays in media input processing.

Syntaxinput_delay_margin time;
Defaultnone
Context
Arguments1

Description

The 'input_delay_margin' directive in the Kaltura Media Framework Common NGINX Module specifies a margin of time to accommodate input delays when handling media streams. This is particularly useful in live video streaming scenarios where fluctuations in network conditions or processing speeds can lead to unexpected latency. By setting this directive, administrators can ensure that the system allows for a grace period during which input streams may be delayed without causing significant disruptions to the overall workflow.

The parameter for this directive is a single integer value that represents the time margin in milliseconds. For example, if 'input_delay_margin' is set to '500', the system will allow an additional 500 milliseconds for any incoming media input delays before triggering errors or adjusting the streaming timeline. This adjustment can help in maintaining playback continuity for users by preventing abrupt interruptions caused by minor latency issues.

This directive is particularly impactful when multiple sources of media are ingested simultaneously, as it allows the configuration of input stream processing to be more flexible. Administrators should balance the need for responsiveness and quality to optimize viewer experience without sacrificing system performance.

Config Example

input_delay_margin 300;

Be cautious not to set the delay margin too high, as this can lead to increased latency in media playback.

Ensure that the specified value is appropriate for your network conditions to avoid performance bottlenecks.

← Back to all directives