Access storage container of media services asset

Doug Bitter 1 Reputation point
2022-03-28T19:37:30.837+00:00

We are using Azure media services and Event Grid. Once the video encoding is done the media service event is handled. At this point we have the asset name which is of the form
"output-GUID". When I go to the Azure portal I can navigate to this output and there is a storage container. In this storage container is the thumbnail. We wish to access this thumbnail. My question is given an Asset how do we get the storage container? Is there some API call we can make?

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.
292 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. David Bristol 971 Reputation points Microsoft Employee
    2022-03-28T20:30:49.097+00:00

    When you get the asset as part of the REST response you should get the Storage container as part of that. With REST that would be https://learn.microsoft.com/en-us/rest/api/media/assets/get and with .NET it would be the assetObject.Container to get the Storage container.

    1 person found this answer helpful.