Playing stream data from Internet URI links

Jan 13 at 2:37 PM
Hi All,
I'm trying to accommodate stream data from Internet protocol URI links (ie http://..., mms:// , etc).
I also need to set DeviceNumber property on the output (this is a hard requirement for the app)

I'm currently using these classes: Mp3FileReader, WMAFileReader, WaveFileReader.
But these classes do NOT accept Internet protocol URI links. (unless I'm wrong)

The basic gist of what I do now is this
WaveStream mediaFileReader = new Mp3FileReader(fileName);
WaveChannel32 inputStream = new WaveChannel32(mediaFileReader);
WaveOut outputDevice = new WaveOut()
outputDevice.DeviceNumber = 1;
outputDevice.Init(inputStream);
........................
So my question is,
is there another class (WmaStream?), that will accept Internet protocol URI links; AND allow me to set a DeviceNumber property on the output?
And if there is a way, any pointer to sample code would be appreciated.
Coordinator
Jan 15 at 11:37 AM
try with MediaFoundationReader
Jan 16 at 8:09 AM
Thanks Mark. I'll look into that class.