SourceCollection
The SourceCollection class represents a collection of video asset Source model objects grouped by a common encoding and/or delivery method. The delivery method is defined in the dynamic metadata properties.
For example, one SourceCollection may contain several H.264-encoded asset URLs suitable for progressive download, each representing a different bit rate and resoultion, while another SourceCollection may contain a single HTTP Live Streaming (HLS) asset URL (with which the adaptation of bit rate is managed via the HLS protocol and not separate asset URLs).
Constructors
Link copied to clipboard
Initializes a new SourceCollection with a predefined metadata properties collection and a predefined Set of Source objects.
Initializes a new SourceCollection with a predefined Set of Source objects all having the given DeliveryType.
Convenience constructor that initializes the SourceCollection with a single Source (most commonly used for HTTP Live Streaming which only has a single URL)
Properties
Functions
Link copied to clipboard
Returns the DeliveryType for this Source, or DeliveryType.UNKNOWN if none was specified.
Link copied to clipboard
Convenience method to retrieve a property from the dynamic properties Map that is expected to be an Integer.
Convenience static method to retrieve a property from a properties Map that is expected to be an Integer.
Link copied to clipboard
Link copied to clipboard
Retrieves a Map of dynamic properties for this object.
Link copied to clipboard
Convenience method to retrieve a property from the dynamic properties Map that is expected to be a String.
Convenience static method to retrieve a property from a properties Map that is expected to be a String.