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).
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
asset |
Pick<AssetDTO, "variants"> |
Returns
Section titled “Returns”AssetVariant | null