WPF Application Development - Any ideas for detecting Media Player (Windows Media Player Legacy) freezing/stuttering?

Steven Shifke 15 Reputation points
2024-08-20T17:20:21.7933333+00:00

Hi,

I am running into an intermittent (<1% occurrence), seemingly unreproducible, issue when playing media via the MediaElement in a WPF App where the media freezes/locks up.

Sometimes this media player will eventually unfreeze itself and continue playback from the frozen position, but in other instances a "play-next" command needs to be received, where we then stop the current movie and start a new one, before the application continue. Also, sometimes the sound continues to play and desyncs from the frozen media picture.

App/Dependencies/Frameworks.: Microsoft.NetCore.App - 6.0.16

Microsoft.Window.SDK.NET.Ref - 10.0.22621.28

Microsoft.WindowsDesktop.App - 6.0.16

MicrosoftWindowsDesktop.App.WPF - 6.0.26

Please let me know if there is anything else that I need to provide to assist in answering this question/resolving the issue.

Thanks,

Steven

Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
9,834 questions
0 comments No comments
{count} vote

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.