Android Local Http Server for M3U8
allprojects {
repositories {
...
maven { url 'https://jitpack.io' }
}
}
dependencies {
compile 'com.github.Jay-Goo:M3U8HttpServer:v1.0.2'
}
-
createLocalHttpUrl(String filePath)
convert local file path to http server url -
execute()
start server -
finish()
stop server
you can go to M3U8Downloader to know how to use it in your project