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.
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
, , .
- Icecast ( ), , , , MP3, M3U XSPF. WP7, MediaElement .
M3U URL- , , XSPF ( XML) , . XDocument XSPF, LINQ .
?.mp3 pls URL? URL-, PLS/M3U, . , URL-: ext =.mp3 ? File.mp3, MediaElement, MS dev, , Shoutcast.
? , Zune.
Source: https://habr.com/ru/post/1784811/More articles:Rails 3 does not render HTML as markup - htmlSome Excel cells remain uninhabited, and C # - c #Обновление расширителя анимации панели с панелью с несколькими обновлениями - ajaxAtomic read-modify-write in C # - multithreadingResistant Android Phone C2DM - androidJquery hide not working in my dialog box - javascriptSilverlight Audio Output - c #Missing HTTP_RANGE on iPhone - phpHow to compare the date returned from the database to the date (string or otherwise)? - f #Compile Java class with missing pieces of code - javaAll Articles