This project has moved. For the latest updates, please go here.

Live Streaming can't be stopped

Mar 10, 2010 at 8:24 PM

The simple player works perfectly for live streaming, but the pause button doesn't actually stop the stream. When you hit pause it just collapses the player. Any ideas?

Mar 10, 2010 at 9:20 PM
Edited Mar 10, 2010 at 9:20 PM

We actually found the answer to this. MediaElement.Pause() silently fails when the source is live stream. We just updated:

mediaElement.Pause()

To check:

if (mediaElement.CanPause)
    mediaElement.Pause();
else
    mediaElement.Stop();

This resolved the issue. Thanks for providing this incredibly useful player!

Coordinator
Mar 11, 2010 at 1:14 PM

thanks so much for reporting this, I have checked your fix in

Mark