WebVTTParser

open 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.

See also

<a href="http://dev.w3.org/html5/webvtt">WebVTT specification</a>

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
open fun parse(stream: InputStream, encoding: String): WebVTTDocument
The main parser for WebVTT cue files pre KitKat.