Pregunta

We want to play m3u8 with ts files stored locally on SD card in Android 4.0 and above devices.

I tried using video TAG inside HTML residing locally on the SD card and android native media player.

Both the codes are failing with the error. The same set of ts and m3u8 files are working fine when played from online when served from a webserver connected through http.

Can we play m3u8 using native support for files stored offline or do we need to use 3rd party libraries. I searched in internet and didn’t find article about not supporting the same.

Any help or recommendation would help my work.

Thanks a lot

¿Fue útil?

Solución

Issue Solved

we used nano http server to serve m3u8 file to with all videos parts. Very simple and easy way to play m3u8 video file.

Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top