Reputation: 1735
For my scenario, our current app is begin coded in html5 and angularjs communicating with web api. I have a workflow scenario that I seem to not be able to find an end to end example for. I would like to allow users of my website to upload videos and images to Azure Media Services. I found several examples that seem to move the data from a web page to blob storage and then copy over to azure media services.
Upvotes: 1
Views: 2869
Reputation: 5630
AMS provides Rest API for all media processing capabilities including uploading, encoding, publishing. There is a sample project (postman collection) in GitHub to play around. This sample project is also accompanied by a well-written article. Please find the links below.
https://github.com/Azure-Samples/media-services-v3-rest-postman
https://learn.microsoft.com/en-us/azure/media-services/latest/stream-files-tutorial-with-rest
Hope this will help
Upvotes: 0
Reputation: 2512
1.Is there a way to upload the file directly to Media Services:
2.Can someone provide an end example that demonstrates the flow from web frontend upload to the file ending up in AMS?
3.Once up there, is there a way to make sure users can view but not download videos?
Upvotes: 6
Reputation: 617
I'm not too familiar with Azure Media Services but after looking at this guide http://azure.microsoft.com/en-us/documentation/articles/media-services-rest-get-started/ it appears to me that you can create an asset on Azure Media Services and link it to a blob. This means you'll only have one blob container.
Upvotes: 0