I'm trying to create a custom MediaStreamSource
class for my Windows Phone 7
project that reads AAC streams from http.
I've looked at the ManagedMediaHelpers
provided by Microsoft, and the code seems to work, the only problem is that I can't get any sound... I've tested it on a real device, so it's not the emulator that is the problem.
I've also looked at this site to try to just get white noise sound, and my code is more or less the same as the audio part, but still no sound at all...
Any idea on how to solve this?
The reason I choose to try the MediaStreamSource
is because when i just set my MediaElement
source to the http stream with
mediaElement.Source = new URI("http://....", UriKind.Absolute);
it lags a bit, and I cannot figure out why. I've also tried to use the XNA
MediaPlayer
but it has a lot of limitations, so I cannot use it for mye purpose...
All help is much appreciated, thanks!