Home > hls.js > Fragment > setElementaryStreamInfo

Fragment.setElementaryStreamInfo() method

Signature:

setElementaryStreamInfo(type: ElementaryStreamTypes, startPTS: number, endPTS: number, startDTS: number, endDTS: number, partial?: boolean): void;

Parameters

Parameter Type Description
type ElementaryStreamTypes
startPTS number
endPTS number
startDTS number
endDTS number
partial boolean (Optional)

Returns:

void