MFPKEY_ASFMediaSource_IterativeSeekIfNoIndex property

Configures the ASF media source to use iterative seeking if the source file has no index.

Data type

PROPVARIANT type (vt)

PROPVARIANT member

VARIANT_BOOL

VT_BOOL

boolVal

Remarks

Use this property to configure the ASF media source. To set the property, pass an IPropertyStore pointer to the source resolver. For more information, see Configuring a Media Source.

Iterative seeking is an algorithm to find a position in an ASF file with no index. It uses a series of approximations, based on the average bit rate, to get progressively closer to the target seek time. (The algorithm is similar to a binary search.) Iterative seeking can take longer than seeking by index, so it is disabled by default.

If you set this property, use the following properties to set the search parameters:

These properties set the maximum number of iterations and the tolerance, respectively. The algorithm halts when it reaches the maximum number of iterations, or when it finds a packet whose distance from the seek time is within the specified tolerance.

Requirements

Minimum supported client
Windows 7 [desktop apps | UWP apps]
Minimum supported server
Windows Server 2008 R2 [desktop apps | UWP apps]
Header
Mfidl.h

See also

Media Foundation Properties