Playing .m3u8 audio stream file through monotouch


I am currently developing an iPhone app that streams audio. The URL I wish to stream is an m3u8 file at the following link:

I can load the NSRequest on a webview which will open the stream but this pushes my application to the background when it opens the stream and the only way to get back to the app is to close the stream.

I would prefer a play button on my view which will start playing the stream when it is clicked and the user should be able to switch tabs within the application without stopping the stream.

In essence, the stream should continue playing until the user deliberately stops it. If somebody can give me any idea as to how to do this within MonoTouch and C# for an iPhone application or point me to a tutorial, that would be great. I have scoured Google but with no avail.

Source: Xamarin.ios Questions

Categorised as Uncategorised


Leave a Reply

Your email address will not be published. Required fields are marked *

Still Have Questions?

Our dedicated development team is here for you!

We can help you find answers to your question for as low as 5$.

Contact Us