Download a live asset that was streamed with PredefinedStreamingPolicy.MultiDrmCencStreaming

Sturla 176 Reputation points
2021-12-02T14:47:33.13+00:00

Hi

Now I have streamed with PredefinedStreamingPolicy.MultiDrmCencStreaming and have an asset I would like to be downloadable. I can´t add to it a new streaming locator with PredefinedStreamingPolicy.DownloadOnly because then I get the following error "Download URLs are not available. This is expected if it is a live archive, or if the asset is empty or contains only manifest files. Please check your asset. View asset"

I found out that I can create an encoding job and encode the asset and then add a locator to that and then I get download url. I did this in the UI.

Is that the only way or is there an easier/faster solution? Just wanted to know before I started programming.

Azure Media Services
Azure Media Services
A group of Azure services that includes encoding, format conversion, on-demand streaming, content protection, and live streaming services.
313 questions
0 comments No comments
{count} vote

1 answer

Sort by: Most helpful
  1. David Bristol 971 Reputation points Microsoft Employee
    2021-12-02T15:00:56.793+00:00

    Live archives are not MP4 files. Encoding the live archive will take the chunks of the archive and build an MP4 for you. That's why this step is required.