Home Reference Source
import {VTTParser} from 'hls.js/src/utils/vttparser.ts'
public class | source

VTTParser

Constructor Summary

Public Constructor
public

Member Summary

Public Members
public
public

cue: *

public

decoder: StringDecoder

public

regionList: *[]

public

Method Summary

Public Methods
public
public

Public Constructors

public constructor() source

Public Members

public buffer: string source

public cue: * source

public decoder: StringDecoder source

public regionList: *[] source

public state: string source

Public Methods

public flush(): VTTParser source

Return:

VTTParser

public parse(data: string): VTTParser source

Params:

NameTypeAttributeDescription
data string

Return:

VTTParser