I can play the .m3u8
with the native MediaPlayer
in android. But, I don't want to be rejected by Gingerbread users. I find a player named Vitamio
said to be a wonderful player that can play HLS streaming on 2.x. However, when I import it into my project, the app is not responding, leaving me the log saying avformat_open_input: I/O error -5
. The .m3u8
is encrypted, and can be played with the native MediaPlayer
in android on my MOTOROLA XT875.
I searched for the error info, and find thisErrors videos not played -- Vitamio.
So, does vitamio really support the encrypted HLS streaming?
Thank U Palejandro! However, according to Vitamio Docs, the latest SDK v4.2 supports the encrypted HLS. Support AES-128 encrypt for HTTP Live Streaming.
So, the answer is yes.
Maybe, the problem has something to do with the different SDK version or other issue. I fixed this problem by just testing it on another cell phone...