pckg_media_timestamps

The pckg_media_timestamps directive enables or disables the inclusion of timestamps in media package responses.

Syntaxpckg_media_timestamps on | off;
Defaultoff
Contexthttp, server, location
Arguments1

Description

The pckg_media_timestamps directive is utilized within the Kaltura Media Framework Common NGINX Module. This directive, when enabled, modifies the format of media responses by embedding timestamps, which indicate the timing metadata associated with the media being processed and delivered to users. This can be particularly useful for applications that require synchronization of media playback with other data feeds or external services. Conversely, if turned off, the response will not include these timestamps, potentially simplifying the output for cases where they are not required.

The directive accepts a single argument, typically a boolean value like "on" or "off". When the parameter is set to "on", timestamps will be included in the media package responses; when set to "off", they will not be included. This flexibility allows developers to tailor the response output according to the needs of their application or the expectations of their audience.

Since this directive can be used in various contexts such as http, server, or location, it provides a granular approach to configuration, allowing timestamps to be enabled or disabled at different levels of your NGINX server setup. This is particularly valuable in environments where different media types or client requirements necessitate distinct configurations. Adjusting this setting can impact both media delivery and application performance; hence, it should be evaluated in testing before being set in production environments.

Config Example

location /media {
    pckg_media_timestamps on;
    # additional configuration options
}

Ensure that the directive value is correctly set to 'on' or 'off' as incorrect values may be ignored.

Changing this directive in a high-traffic server might require careful monitoring to assess performance impacts.

← Back to all directives