locked
[WP8.1] MediaElement mp3 streaming not working

    Question

  • Hi everybody,

    I was trying to update my app from a Windows Phone 8 to a Windows Universal app and I can't manage to get the MediaElement to work on the WP version

    This is the source of the MP3 streaming

    player.Source = new Uri("http://stream.srg-ssr.ch/m/rsp/mp3_128");

    but when I try playing it I the player closes and I get back the MF_MEDIA_ENGINE_ERR_SRC_NOT_SUPPORTED although this is an mp3 file... Does somebody know hot to solve this?

    Thanks


    Nahuel Guidotti


    Friday, May 1, 2015 8:45 AM

Answers

  • Hello Nahuel,

    You need to contact the content provider and find out what streaming protocol they are supporting. Out of the box we only support Microsoft proprietary streaming protocols. If the content provider supports a protocol such as HSL you will need to find a 3rd party MediaStreamSource that supports the protocol that the content provider is using.

    I hope this helps,

    James


    Windows SDK Technologies - Microsoft Developer Services - http://blogs.msdn.com/mediasdkstuff/

    Friday, May 1, 2015 5:24 PM
    Moderator