Home > hls.js > BaseStreamController > getCurrentContext

BaseStreamController.getCurrentContext() method

Signature:

protected getCurrentContext(chunkMeta: ChunkMetadata): {
        frag: Fragment;
        part: Part | null;
        level: Level;
    } | null;

Parameters

Parameter Type Description
chunkMeta ChunkMetadata

Returns:

{ frag: Fragment; part: Part | null; level: Level; } | null