ISourceRequestResult

Capture Manager SDK

ISourceRequestResult

ISourceRequestResult – it allows inject data into the capture processor by the next method:

HRESULT STDMETHODCALLTYPE setData( LPVOID aPtrData, DWORD aByteSize, BOOL aIsKeyFrame) - send data, where aPtrData is pointer on raw data, aByteSize is size of raw data, aIsKeyFrame is a state of uncompressed data;
HRESULT STDMETHODCALLTYPE getStreamIndex( DWORD *aPtrStreamIndex) - get the current media stream index, where aPtrStreamIndex is index of the current stream.