Change stream source

Topics: Windows 8 Xaml, Windows Phone 8
Dec 10, 2013 at 8:57 PM
Edited Dec 10, 2013 at 8:57 PM
Is there any safe way to change live stream source multiple times?

Currently what I do is
private void ChangeSource(string streamUrl)
{
      Player.Stop();
      Player.Source = streamUrl;
}
but after changing stream source few times I get memory leak
Thx
Jan 28, 2014 at 1:54 PM
Looking forward to an answer as well...
Jan 28, 2014 at 2:27 PM
Hi,
do you use smooth stream or you use any other component like https://phonesm.codeplex.com/?
Jan 28, 2014 at 2:40 PM
Neither. I am using adaptive streaming (loading a .mp4 file from an URL). But I once also had a memory leak in my app which caused Windows to crash. Don't know if it is related to this player framework.
Jan 28, 2014 at 2:46 PM
Edited Jan 28, 2014 at 2:46 PM
No I did not have this problem VOD. I had it with live streaming.