Home > hls.js > SubtitleStreamController > onMediaDetaching

SubtitleStreamController.onMediaDetaching() method

Signature:

protected onMediaDetaching(event: Events.MEDIA_DETACHING, data: MediaDetachingData): void;

Parameters

Parameter

Type

Description

event

Events.MEDIA_DETACHING

data

MediaDetachingData

**Returns:**

void