Home > hls.js > SubtitleTrackController > onMediaDetaching

SubtitleTrackController.onMediaDetaching() method

Signature:

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

Parameters

Parameter

Type

Description

event

Events.MEDIA_DETACHING

data

MediaDetachingData

**Returns:**

void