ICaptureProcessor

Capture Manager SDK

ICaptureProcessor

ICaptureProcessor – it is a callback interface for customized code which injects data into the recording pipeline by the next methods:

HRESULT STDMETHODCALLTYPE start( LONGLONG aStartPositionInHundredNanosecondUnits, REFGUID aGUIDTimeFormat) - callback method for staring of the capture processor, where aStartPositionInHundredNanosecondUnits is time offset, aGUIDTimeFormat is type of time format (GUID_NULL);
HRESULT STDMETHODCALLTYPE stop() - callback method for stopping of the capture processor;

HRESULT STDMETHODCALLTYPE pause() - callback method for pausing of the capture processor;

HRESULT STDMETHODCALLTYPE shutdown() - callback method for releasing of the resource of the capture processor;

HRESULT STDMETHODCALLTYPE initilaize(IUnknown *aPtrIInitilaizeCaptureSource) - callback method for initilaizing of the resource of the capture processor, where aPtrIInitilaizeCaptureSource is pointer on object with IInitilaizeCaptureSource interface;

HRESULT STDMETHODCALLTYPE setCurrentMediaType(IUnknown *aPtrICurrentMediaType) - callback method for the selected media type of the capture processor, where aPtrICurrentMediaType is pointer on object with ICurrentMediaType interface;

HRESULT STDMETHODCALLTYPE sourceRequest(IUnknown *aPtrISourceRequestResult) - callback method for injection data to the capture processor, where aPtrISourceRequestResult is pointer on object with ISourceRequestResult interface.