DashPackage class
A Dynamic Adaptive Streaming over HTTP (DASH) packaging configuration.
Constructors
-
DashPackage({required List<
DashManifest> dashManifests, DashEncryption? encryption, List<PeriodTriggersElement> ? periodTriggers, int? segmentDurationSeconds, SegmentTemplateFormat? segmentTemplateFormat}) -
DashPackage.fromJson(Map<
String, dynamic> json) -
factory
Properties
-
dashManifests
→ List<
DashManifest> -
A list of DASH manifest configurations.
final
- encryption → DashEncryption?
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
periodTriggers
→ List<
PeriodTriggersElement> ? -
A list of triggers that controls when the outgoing Dynamic Adaptive
Streaming over HTTP (DASH)
Media Presentation Description (MPD) will be partitioned into multiple
periods. If empty, the content will not
be partitioned into more than one period. If the list contains "ADS", new
periods will be created where
the Asset contains SCTE-35 ad markers.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- segmentDurationSeconds → int?
-
Duration (in seconds) of each segment. Actual segments will be
rounded to the nearest multiple of the source segment duration.
final
- segmentTemplateFormat → SegmentTemplateFormat?
-
Determines the type of SegmentTemplate included in the Media Presentation
Description (MPD). When set to NUMBER_WITH_TIMELINE, a full timeline is
presented in each SegmentTemplate, with $Number$ media URLs. When set to
TIME_WITH_TIMELINE, a full timeline is presented in each SegmentTemplate,
with $Time$ media URLs. When set to NUMBER_WITH_DURATION, only a duration is
included in each SegmentTemplate, with $Number$ media URLs.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited