The LEAD ltmmCapture, ltmmConvert and ltmmPlay objects allow setting custom media sources and targets. In essence, custom source and target objects are no more than DirectShow source and renderer filters. Users who would like to implement their own custom source or target objects should consult the DirectX SDK for detailed information on creating DirectShow filters.
There are two ways the LEAD objects can access your custom objects:
You can implement IltmmObjectWrapper in your object. This indicates to the LEAD objects that your object is wrapping a sub-object that implements IBaseFilter. This is how the ltmmSampleSource and ltmmSampleTarget objects are implemented.
Medical Web Viewer .NET
.NET, Java, Android, and iOS/macOS Assemblies
C API/C++ Class Libraries