How to play audio stream from Icecast on WP7

How to play audio stream from Icecast on WP7

I tried SMF, SmoothStreaming Client and MediaElement.

None of them worked. Formats are either asx or wma.

Edit:

I recently found a new thread. this thread works when I'm in the designer. But this does not work on the device. On the device, the stream immediately opens and closes.

this stream from the IceCast server in MP3 format. with the extension .mp3. or without.

+3
source share
4 answers

When you broadcast live radio, the stream can be encoded by the IceCast server or the ShoutCast server. To read these streams, you will need to decode the stream in memory and pass it to the MediaElement after decoding it.

Mp3MediaStreamSource

Silverlight

, , .

+1

- Icecast ( ), , , , MP3, M3U XSPF. WP7, MediaElement .

M3U URL- , , XSPF ( XML) , . XDocument XSPF, LINQ .

0

?.mp3 pls URL? URL-, PLS/M3U, . , URL-: ext =.mp3 ? File.mp3, MediaElement, MS dev, , Shoutcast.

0

? , Zune.

0
source

Source: https://habr.com/ru/post/1784811/


All Articles