Playing Custom Media Formats

You can support additional media formats if you have an appropriate media extension DLL packaged with your app. The Windows SDK sample at http://code.msdn.microsoft.com/Media-extensions-sample-7b466096 includes the C++ source code for an MPEG-1 decoder that is built and packaged with a C# app that consumes it. You can also support adaptive streaming via this mechanism by installing the Smooth Streaming Client SDK available at http://visualstudiogallery.msdn.microsoft.com and referencing it in your app. This packages the necessary prebuilt media extension DLL with your app.

However, there’s an easier way to plug custom behavior into the media pipeline without writing C++ code. This mechanism is enabled by a class called ...

Get XAML Unleashed now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.