Since then, I have encountered these problems for a very long time, and I am really disappointed with the support of the Android HLS, as it behaves too randomly.
Demand:
1) Play multiple streams of .m3u8 video
2) Should work on different devices and api levels.
What I have and related issues:
Method - 1) TextureView with native MediaPlayer :
The amount of video that is played depends on the device, for some devices it is only one video (My Device - samsung galaxy grand quattro - api level 16), and for some devices it can play all four streamings video.
Depends on the api level, some .m3u8 url work on jellybean, but not higher than kitkat.
Method - 2) ExoPlayer :
- The same problems of method -1
Method - 3) Vitamio :
Method - 4) grafika :
- This is not stable, but (as they mentioned).
The solutions I'm looking for:
1) It is necessary to play several video streams, as with any of the above methods, my device can play one video, but it seems Milestone Mobile can play 8 video streams on my device (How ?: O).
2) If the native MediaPlayer cannot reproduce any .m3u8 URL, then how to debug what the exact problem is, for example, are there any problems with the aac codec, decoder, segments, .ts file, etc. .?
3) If the native MediaPlayer is not able to play streams, then how can I make a custom MediaPlayer that supports most streaming URLs?
4) Is it possible to play multiple videos using Vitamio?
5) Link to any other HLS client that matches my requirement?
Personally, I would like to go with Method-1, so what can I do?
android hls exoplayer m3u8 vitamio
Chitrang
source share