MFSampleExtension_StreamTick

Hi.

1. What is MFSampleExtension_StreamTick attribute for
2. Is it removed from RC1 SDK

thanks.




Answer this question

MFSampleExtension_StreamTick

  • Sean_Sinclair68127

    Yes, it is gone in RC1; use the event MEStreamTick.

    MEStreamTick is an event that a Media Stream can send when it detects a gap in its stream of samples. The event is associated with a timestamp which will let downstream components know where the gap is. For example, Media Foundation's ASF media Source will send one of these for every second of missing data on a stream, though more frequent MEStreamTicks is fine too. Just note that unlike MEMediaSample, this isn't a response to IMFMediaStream::RequestSample. We recommend using MEStreamTicks if you detect a gap, since it helps media sinks know not to wait for samples.

    Becky



  • MFSampleExtension_StreamTick