I suggest you could refer to the Doc: Asynchronous MFTs
You need to implement IMFMediaEventGenerator
interface. An MFT sends out-of-band events through the IMFMediaEventGenerator interface. During streaming, the MFT requests data by sending an METransformNeedInput event
. For each METransformNeedInput event, the client calls ProcessInput
for the specified stream.
You needn't to call this function, but only respond to the events you receive.