Home Reference Source
import ChunkCache from 'hls.js/src/demux/chunk-cache.ts'
public class | source

ChunkCache

Constructor Summary

Public Constructor
public

Member Summary

Public Members
public
public

Method Summary

Public Methods
public
public

push(chunk: Uint8Array)

public

reset()

Public Constructors

public constructor() source

Public Members

public chunks: Array source

public dataLength: number source

Public Methods

public flush(): Uint8Array source

Return:

Uint8Array

public push(chunk: Uint8Array) source

Params:

NameTypeAttributeDescription
chunk Uint8Array

public reset() source