PLay M3U8 on Windows Phone

无人久伴 提交于 2019-12-22 04:30:13

问题


I have been searching for ways to play an M3U8 media live stream on WIndows Mobile using the media framework.

Kindly share any info on this.


回答1:


You need to read and parse the m3u8 file (it's a simple text file). Then stream the parsed Uri(s).




回答2:


After more research i found out that m3u8 is a format supported by APPLE.

Unfortunately we cannot play the m3u8 files on windows phone directly.

Rather we can use the streaming media framework to play .manifest files. The .manifest files are generated by the SMOOTH STREAMING MEDIA SERVER. .manifest files are equivalent of m3u8 files. It is also a playlist file just like the m3u8 file.

SMOOTH STREMAING SERVER, is a part of windows media servies that works on a IIS server.




回答3:


You can use Windows Phone Streaming Media free library, it worked fine for me, there is a blog post about it:




回答4:


3ivx live streaming 3ivx although this is not free




回答5:


First add reference.

xmlns:local="clr-namespace:Microsoft.PlayerFramework;assembly=Microsoft.PlayerFramework"
xmlns:smmedia="clr-namespace:SM.Media.MediaPlayer;assembly=SM.Media.MediaPlayer.WP8"


<local:MediaPlayer Name="player"
               HorizontalContentAlignment="Stretch"
               AutoPlay="True"
               Volume="0.7"
               Source="http://devimages.apple.com/iphone/samples/bipbop/bipbopall.m3u8"
               IsPlayPauseVisible="True">
    <local:MediaPlayer.Plugins>
        <smmedia:StreamingMediaPlugin />
    </local:MediaPlayer.Plugins>
</local:MediaPlayer>


来源:https://stackoverflow.com/questions/11716996/play-m3u8-on-windows-phone

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!