I've been researching but didn't find any tutorial on how to play an audio stream from Azure Media Services on Android apps ?
I've went through those tutorials http://azure.microsoft.com/en-us/documentation/articles/media-services-dotnet-get-started/ http://code.msdn.microsoft.com/Windows-Azure-Media-040435f8
But they download an asset not stream it.
There seems to be sth called PlayReady, but I need to license it !! http://www.microsoft.com/playready/features/ClientOptions.aspx
Can anyone guide me to any code/tutorial or where to start such that I could play an audio stream uploaded on Azure Media Services ?
Is it possible that I could obtain a streaming url from azure media services for my uploaded audio file, and then I would just play that normally using the MediaPlayer API on Android ?
Azure Media Services is designed to process and serve streamed video and doesn't support audio-only media.
You might want to check to see if the new Azure CDN offering is providing smooth streaming yet.
Otherwise the only way to really enable this would be to setup an appropriate streaming server potentially running on an Azure VM as the websites and web role PaaS offerings don't have streaming capabilities baked into them.
Failing this you could potentially look at the AWS CloudFront Streaming offering if you need a public cloud solution.
You can use AMS REST API or SDK for .NET to upload an MP3 file.
You can then produce an MP4 file by encoding with Azure Media Encoder and using the AAC Good Quality Audio preset.
Make sure to add at least one On-Demand streaming unit.
The following example uses SDK for .NET Extensions.
Also, see https://social.msdn.microsoft.com/Forums/azure/en-US/4fb146f1-81f4-4da0-a157-3e2316b127fe/windows-azure-media-services-audio-only?forum=MediaServices.
thank you,
Julia