Skip to content
scroll to zoom · drag to pan

getHlsLadder

function getHlsLadder(asset): AssetVariant | null;

Defined in: packages/asset-client/dist/index.d.ts:951

The ladder of an asset, or null when it has none / the DTO does not carry variants (the slim list shape never does — use hasPreset(a, "hls") there).

Parameter Type
asset Pick<AssetDTO, "variants">

AssetVariant | null