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

VTTParser

Member Summary

Public Members
public
public

cue: *

public

decoder: StringDecoder

public

oncue: *

public

onflush: *

public
public
public

state: *

Method Summary

Public Methods
public
public

Public Members

public buffer: string source

public cue: * source

public decoder: StringDecoder source

public oncue: * source

public onflush: * source

public onparsingerror: * source

public regionList: * source

public state: * source

Public Methods

public flush(): VTTParser source

Return:

VTTParser

public parse(data: string): VTTParser source

Params:

NameTypeAttributeDescription
data string

Return:

VTTParser