Hi,
I'm new to media foundation. Currently working on a project which displays live video stream from a IP Camera. For this task i have created a custom media source and custom media stream classes which are being used in media foundation. However, media session keeps requesting samples constantly even before i get the SessionStarted event, even though samples are requesated but yet i'm not getting decoded video.
I tried using MFTrace but had no luck. So reading at other posts within the forum and documentation on Media Foundation, it seems that my sample timestamp might be wrong.
Hence i would be very grateful if anyone can provide me advice as to how I should set/adjust the sample timestamp. Also in the mean time i thought of using MEBuffereingStarted/Ended events but not sure how/When/Where from I should be queueing MEBuffereingStarted/Ended events.
Thanks in advance.