CForwardOnlyEventingReadStream not fire read event

Had this problem before, the CForwardOnlyEventingReadStream instance returned from pipeline component does not fire the Read event. After checking Microsoft’s implementation, it turns out my custom stream object has to implement the Position property.

image

After update my custom stream class to return a valid position, the read event is working again.