-
public class WebVTTParser
Implementation of a parser for WebVTT style captions. This parser is not complete, and is loosely based off of the current WebVTT parser in the Google ExoPlayer project.
-
-
Method Summary
Modifier and Type Method Description static WebVTTDocument
parse(InputStream stream, String encoding)
The main parser for WebVTT cue files pre KitKat. -
-
Method Detail
-
parse
static WebVTTDocument parse(InputStream stream, String encoding)
The main parser for WebVTT cue files pre KitKat.
- Parameters:
stream
- the input stream containing caption dataencoding
- the string encoding used, mostly UTF-8
-
-
-
-