Quantcast
Channel: Windows Presentation Foundation (WPF) forum
Viewing all articles
Browse latest Browse all 18858

WPF - MediaElement.DownloadProgress inconsistency

$
0
0

Hi there,

I've met a problem with my WPF application: while I'm streaming an MP4 file with the MediaElement control, the DownloadProgress property is returning 1 as soon as the video starts playing, and only returns 0 before that. While the video is buffering, it returns 1 or 0 (pretty much randomly), and returns 1 a couple of seconds after the video has started playing again.

Even though the documentation says it should return a value between 1 and 0, for me it only returnseither 1 or 0.

Has anyone met this problem before? If yes, has anyone solved it?


Viewing all articles
Browse latest Browse all 18858

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>