Home > hls.js > HlsEventEmitter > off

HlsEventEmitter.off() method

Signature:

off<E extends keyof HlsListeners, Context = undefined>(event: E, listener?: HlsListeners[E], context?: Context, once?: boolean): void;

Parameters

Parameter

Type

Description

event

E

listener

HlsListeners[E]

(Optional)

context

Context

(Optional)

once

boolean

(Optional)

**Returns:**

void