| Previous | Next |
| MILAVERR_REQUESTEDTEXTURETOOBIG | MILAVERR_UNEXPECTEDWMPFAILURE |
MILAVERR_SEEKFAILED
MILAVERR_SEEKFAILED belongs to WPF media runtime, seek, and player lifetime. The media path could not reposition playback to the requested timeline position.
Start with the returning API
After a media object opens, asynchronous work continues in source, network, decoder, player, and rendering components. Seek requests, Close, unload, callbacks, and device failures can race with that work. The first operation returning the MILAV status must be correlated with player generation and event order so a stale callback is not mistaken for a content or codec defect.
source seekability, byte-range access, timeline mapping, keyframe selection, or player state during seek.
Reproduce without destructive cleanup
Assign a generation number to each player instance and reject callbacks from older generations. Reproduce open, optional seek, play, stop, and close with explicit timestamps before adding network sources, DRM, or UI navigation.
- seek within a known valid range in a local file.
- Try a keyframe-aligned position.
- Wait for MediaOpened before seeking.
- cancel or serialize overlapping seeks.
Evidence to preserve
- Requested and resulting positions
- Source duration, seekable ranges, and stream type
- Network range support or file stream behavior
- Player state and seek generation
Limits of this code
A seek failure does not mean normal sequential playback must fail; it identifies repositioning rather than decoding every sample. Do not treat the constant name as a complete root-cause report; preserve the nested media, COM, graphics, or driver result before resetting the player.
Technical references
Looking for a different code? Search another status or error code.