Home > hls.js > BasePlaylistController > switchParams

BasePlaylistController.switchParams() method

Signature:

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

Parameters

Parameter Type Description
playlistUri string
previous LevelDetails | undefined

Returns:

HlsUrlParameters | undefined