Home > hls.js > StreamController > onError

StreamController.onError() method

Signature:

protected onError(event: Events.ERROR, data: ErrorData): void;

Parameters

Parameter

Type

Description

event

Events.ERROR

data

ErrorData

**Returns:**

void