Play m3u8 video in android

前端 未结 6 590
被撕碎了的回忆
被撕碎了的回忆 2021-01-30 18:00

I want to live streaming the video and it is in m3u8 format. So i tried the below code

public class StreamingPlayer extends Activity implements
OnBufferingUpdate         


        
6条回答
  •  爱一瞬间的悲伤
    2021-01-30 18:27

    The video was existed in http://www.livestream.com. In this there is Mobile Api for live streaming.

    The Api is:

    http://www.livestream.com/userguide/index.php?title=Mobile_API#How_to_get_mobile_compatible_clips_from_a_channel.27s_library

    In above link there is full information for mobile compatible. To get the rtsp link from the channel to use this link

    http://xproshowcasex.channel-api.livestream-api.com/2.0/getstream

    Replace the your channel name instead of proshowcase. And then get all mobile compatible url's like IPhone, Android, Blackberry etc.,

    Using that url you can stream the video in Android by using video view or media player.

    For more information please read the Mobile Api link.

    If any one get the same problem I hope this answer will helps you.

    Best of luck.

提交回复
热议问题