Frage

I want to customize Media Foundation's Source Resolver.

I would like to play files encrypted with DRM, and the extension is AVI, MPEG4 and possibly other.

How can I customize Source Resolver?

War es hilfreich?

Lösung

Generic ways of customization are documented in Scheme Handlers and Byte-Stream Handlers:

The source resolver can create a media source from a URL or from a byte stream [...]. For URLs, the source resolver uses scheme handlers. For byte streams, it uses byte-stream handlers. [...]

To register a new scheme handler, add an entry whose name is the CLSID of the scheme handler, [...]

To register a new byte-stream handler, add an entry whose name is the CLSID of the handler, [...]

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top