How can I programmitcally get a DASH vs. HLS Cloudflare stream?

I would like to be able to have control over how Cloudflare sends video stream over the wire. I know they use either HLS or DASH, but I was wondering if there was a way to programmatically select one.

This is important for pre-fetching video in my application, as DASH would better suite this purpose due to the smaller 2 second chunks.

I appreciate any help, thanks!