Reducing MPEG-DASH Livestream Startup Time & Exploring CMAF Segment Generation

Hello everyone,
I am currently using dashsink for my MPEG-DASH livestream and aiming to start the stream within 1-2 seconds. To achieve this, I have the following questions:

  1. MPD Initial Generation Time: Does dashsink generate the MPD file after the first segment is fully created, or can the MPD be generated before the first segment is complete?
  2. Optimal Startup Time and Segment Size: What is the best segment size and startup time for reducing buffering and delays during the livestream? I’m aiming for minimal latency without causing significant buffering issues.
  3. CMAF Segments for Reduced Startup: Are there any current implementations in dashsink or alternative methods to generate CMAF segments to help reduce startup time for live streams?

Thank you in advance for your help and suggestions. I appreciate any insights you can provide!

There’s a cmafmux in gst-plugins-rs if that helps.

There’s an application example here, but there’s only one for VOD so far, not live. There’s an HLS live example in the same folder though for inspiration.