Home > hls.js > BaseStreamController > flushMainBuffer

BaseStreamController.flushMainBuffer() method

Signature:

protected flushMainBuffer(startOffset: number, endOffset: number, type?: SourceBufferName | null): void;

Parameters

Parameter Type Description
startOffset number
endOffset number
type SourceBufferName | null (Optional)

Returns:

void