From: "Olivier"
[Quoted Text] > Is it possible to play from ASX sources using the > asynchronous reader from the WM9 Format SDK? > > I whish to use the Format SDK because I need to manage > the decoded video and audio. > I must use the async reader because my source content is > from the Internet. I need to play from ASX playlists > because it is like that on the server I am connecting to. > > When opening a ASX URL using the async reader, I receive > a 0xc00d0026 result within the WMT_OPENED status catched > by my callback object...
That's NS_E_UNRECOGNIZED_STREAM_TYPE, has you could have find out by looking at nserror.h. AFAIK, the WM readers only read ASF streams (and MP3s) and an ASX is not one. An ASX is an XML playlist, that is a text file. You need to parse it yourself using e.g. MSXML, extract the entry URL and then open the latter in the reader.
-- // Alessandro Angeli // MVP :: DirectShow / MediaFoundation // mvpnews at riseoftheants dot com // http://www.riseoftheants.com/mmx/faq.htm
|