psshFromM3u8

fun psshFromM3u8(playlist: String, systemId: ByteArray? = PSSH.WIDEVINE): List<PSSH>

Every PSSH carried inline by an HLS playlist, in document order and de-duplicated.

Reads #EXT-X-KEY and #EXT-X-SESSION-KEY tags whose URI is a data:text/plain;base64,… payload, filtered by KEYFORMAT when systemId is given. Tags pointing at an external URI are skipped — fetching them is the caller's job.