Reading a custom encoded network stream

Topics: Windows 8 Xaml
Oct 15, 2012 at 5:06 PM


The MediaPlayer control takes as a source either a Uri or a IRandomAccessStream.

In my case I have as input a URI pointing to a custom encoded resource.

What I'd like to do is set the source of my MediaPlayer to my url, let the player handle the download, yet be called whenever it needs to read something so I can decode it on the fly.

Is there a way to do that?

Could this be done by implementing a plugin?