filterSourcesOnDeliveryType

open fun filterSourcesOnDeliveryType(video: Video, deliveryTypeFilter: DeliveryType)

Filter this Video's SourceCollections to include only the specified DeliveryType

Parameters

video

The Video whose SourceCollections are to be filtered

deliveryTypeFilter

The DeliveryType to filter the Video's SourceCollections

Examples: -- If the deliveryTypeFilter is DeliveryType.HLS, then all but the HLS sources in the Video are removed Special cases: -- If the specified DeliveryType is DeliveryType.DASH, then all but the DASH Sources will be filtered out of this Video -- If the specified DeliveryType is not found in the SourceCollection's keySet, then no Sources will be filtered out of this Video This includes DeliveryType.UNKNOWN