findSourcesByProfileVersion

open fun findSourcesByProfileVersion(sourceCollection: SourceCollection, profileVersion: String): Set<Source>

Find the Sources in the SourceCollection associated to the provided profile version. Currently this applies only to SourceCollection of typy HLS, and its profile version, for example EXT_X_VERSION_5 or EXT_X_VERSION_4.

The Set will be empty when no sources are found.

Return

the source set

Parameters

sourceCollection

the source collection

profileVersion

the profile version