Home > hls.js > Hls > startLoad

Hls.startLoad() method

Start loading data from the stream source. Depending on default config, client starts loading automatically when a source is set.

Signature:

startLoad(startPosition?: number): void;

Parameters

Parameter Type Description
startPosition number (Optional) Set the start position to stream from. Defaults to -1 (None: starts from earliest point)

Returns:

void