Creating Custom Source and Target Objects

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 the DirectShow IBaseFilter in your custom object. This would be the case for any DirectShow filter.


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.

Help Version 21.0.2021.4.7
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS Multimedia C API Help