3
votes

Using only the REST API, I am able to upload a file to Azure Media Services from my local machine and start an encoding job. Then I need to poll the job for status to see when it is done. But, what I really want is for Azure Media Services to send a request to my callback URL when it is done. Is there way to do this?

1

1 Answers

0
votes

Take a look at our Notifications features which supports WebHooks.

https://docs.microsoft.com/en-us/azure/media-services/media-services-dotnet-check-job-progress-with-webhooks

It integrates well with Azure Functions also - if you want to host your callback in Azure Functions and just leverage the WebHook trigger in there. We have some examples of doing that up here: https://github.com/Azure-Samples/media-services-dotnet-functions-integration/tree/master/101-notify-webhooks