public class WebVTTParser
extends java.lang.Object
| Constructor and Description |
|---|
WebVTTParser() |
| Modifier and Type | Method and Description |
|---|---|
static WebVTTDocument |
parse(java.io.InputStream stream,
java.lang.String encoding)
The main parser for WebVTT cue files pre KitKat.
|
public static WebVTTDocument parse(java.io.InputStream stream, java.lang.String encoding) throws java.io.IOException
stream - the input stream containing caption dataencoding - the string encoding used, mostly UTF-8java.io.IOException - Things to work on in the future:
X-TIMESTAMP-MAP parsing (MPEGTS parsing for HLS syncing with PES timing data)
Region and Styling parsing