This is an open source M3U8 playlist parser java library that attempts to conform to this specification:
http://tools.ietf.org/html/draft-pantos-http-live-streaming-14
Currently the functionality is more than sufficient for our needs. However, there is still a lot of work to be done before we have full compliance. Pull requests are welcome!
We would like to give back to the open source community surrounding Android that has helped make iHeartRadio a success. By using the MIT license we hope to make this code as usable as possible.
We now have artifacts in Maven Central!
dependencies {
compile 'com.iheartradio.m3u8:open-m3u8:0.0.3.1'
}
<dependency>
<groupId>com.iheartradio.m3u8</groupId>
<artifactId>open-m3u8</artifactId>
<version>0.0.3.1</version>
</dependency>
This library needs to support Android which means we are limited to Java 7 sans try-with-resources.