Play m3u8 video in android

前端 未结 6 514
被撕碎了的回忆
被撕碎了的回忆 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:35

    I tried m3u8 video format for more than 6 months and it is not succeeded. It is playing in my iPhone app and native applications. My streaming server is Red5 and it has no RTSP plugin. It gives out RTMP streaming and it could not be streamed in Android. I waited for one year to get an OS having support for RTSP streaming but google haven't. Still I am using a web view with a flash player to stream live video(It has not much clarity). I feel shame to say this to my client and continuing search to play the live stream in Android default player.

    I think your video url may not RTSP.

提交回复
热议问题