Home > hls.js > BasePlaylistController > switchParams

BasePlaylistController.switchParams() method

Signature:

protected switchParams(playlistUri: string, previous: LevelDetails | undefined, current: LevelDetails | undefined): HlsUrlParameters | undefined;

Parameters

Parameter

Type

Description

playlistUri

string

previous

LevelDetails | undefined

current

LevelDetails | undefined

**Returns:**

HlsUrlParameters | undefined