SourceCollection

constructor(properties: Map<String, Any>)

See also


constructor(properties: Map<String, Any>, sources: Set<Source>)

Initializes a new SourceCollection with a predefined metadata properties collection and a predefined Set of Source objects.

Parameters

properties

the metadata assigned to this instance

sources

the video asset sources to associate with this SourceCollection


constructor(sources: Set<Source>, deliveryType: DeliveryType)

Initializes a new SourceCollection with a predefined Set of Source objects all having the given DeliveryType. All Sources in a SourceCollection should be of the same DeliveryType.

Parameters

sources

the video asset sources to associate with this SourceCollection

deliveryType

the DeliveryType format for all the given Sources


constructor(source: Source, deliveryType: DeliveryType)

Convenience constructor that initializes the SourceCollection with a single Source (most commonly used for HTTP Live Streaming which only has a single URL)

Parameters

source

the single Source for this collection

deliveryType

the DeliveryType format for all the given Sources