简体   繁体   中英

Play .pls on windows phone 7.1

I have a problem playing .pls live streaming channel on windows phone 7 media element. i asked this question before as well and someone said that you need to parse the address inside .pls becuase .pls is a playlist format and you have link to play audio inside it but when i parse:
http:// 69.175.103.226:8540/listen.pls i get http:// 69.175.103.226:8540 you can check this by typing this on browser http:// 69.175.103.226:8540/listen.pls and download .pls and open with notepad and it is not being played by windows phone

any idea how to do this? kindly help me i am stuck

Thanks

From what I can tell it is a 48kbps MP3 stream. I don't see why it wouldn't work unless you do something wrong with the way you are setting the media source.

Should be:

mediaElement.Source = new Uri("URL_TO_STREAM",UriKind.Absolute);
mediaElement.Play();

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM