dash_nested
The 'dash_nested' directive enables or disables nested DASH packaging for streaming applications.
Description
The 'dash_nested' directive is part of the NGINX RTMP module that facilitates MPEG-DASH live streaming configurations. When enabled, it allows for nested segment creation, which can provide additional flexibility for handling media segments during streaming. Specifically, when 'dash_nested' is set to 'on', the server will create a separate directory structure for each DASH stream, enabling better organization of the media segments. This can help in scenarios where multiple streams might be stored in the same location, preventing filename clashes and improving content management.
Moreover, the behavior of both 'dash' (to enable DASH) and 'dash_nested' directives works in tandem. For the nested structure to be effectively utilized, the parent 'dash' directive must also be set active. The primary use case for enabling 'dash_nested' is in more complex streaming scenarios where content organization and management are critical for performance and scalability. It can improve the ease of accessing and serving individual segments of content.
Config Example
application live {
dash on;
dash_nested on;
dash_path /tmp/dash;
}Ensure the 'dash' directive is enabled for the 'dash_nested' directive to take effect.
Nested segments may complicate segment retrieval if not properly organized.