Class CfnPackagingConfiguration.DashPackageProperty
Parameters for a packaging configuration that uses Dynamic Adaptive Streaming over HTTP (DASH) packaging.
Inheritance
Namespace: Amazon.CDK.AWS.MediaPackage
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class DashPackageProperty : Object, CfnPackagingConfiguration.IDashPackageProperty
Syntax (vb)
Public Class DashPackageProperty
Inherits Object
Implements CfnPackagingConfiguration.IDashPackageProperty
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.MediaPackage;
var dashPackageProperty = new DashPackageProperty {
DashManifests = new [] { new DashManifestProperty {
ManifestLayout = "manifestLayout",
ManifestName = "manifestName",
MinBufferTimeSeconds = 123,
Profile = "profile",
ScteMarkersSource = "scteMarkersSource",
StreamSelection = new StreamSelectionProperty {
MaxVideoBitsPerSecond = 123,
MinVideoBitsPerSecond = 123,
StreamOrder = "streamOrder"
}
} },
// the properties below are optional
Encryption = new DashEncryptionProperty {
SpekeKeyProvider = new SpekeKeyProviderProperty {
RoleArn = "roleArn",
SystemIds = new [] { "systemIds" },
Url = "url",
// the properties below are optional
EncryptionContractConfiguration = new EncryptionContractConfigurationProperty {
PresetSpeke20Audio = "presetSpeke20Audio",
PresetSpeke20Video = "presetSpeke20Video"
}
}
},
IncludeEncoderConfigurationInSegments = false,
IncludeIframeOnlyStream = false,
PeriodTriggers = new [] { "periodTriggers" },
SegmentDurationSeconds = 123,
SegmentTemplateFormat = "segmentTemplateFormat"
};
Synopsis
Constructors
DashPackageProperty() |
Properties
DashManifests | A list of DASH manifest configurations that are available from this endpoint. |
Encryption | Parameters for encrypting content. |
IncludeEncoderConfigurationInSegments | When includeEncoderConfigurationInSegments is set to true, AWS Elemental MediaPackage places your encoder's Sequence Parameter Set (SPS), Picture Parameter Set (PPS), and Video Parameter Set (VPS) metadata in every video segment instead of in the init fragment. |
IncludeIframeOnlyStream | This applies only to stream sets with a single video track. |
PeriodTriggers | Controls whether AWS Elemental MediaPackage produces single-period or multi-period DASH manifests. |
SegmentDurationSeconds | Duration (in seconds) of each fragment. |
SegmentTemplateFormat | Determines the type of SegmentTemplate included in the Media Presentation Description (MPD). |
Constructors
DashPackageProperty()
public DashPackageProperty()
Properties
DashManifests
A list of DASH manifest configurations that are available from this endpoint.
public object DashManifests { get; set; }
Property Value
System.Object
Remarks
Encryption
Parameters for encrypting content.
public object Encryption { get; set; }
Property Value
System.Object
Remarks
IncludeEncoderConfigurationInSegments
When includeEncoderConfigurationInSegments is set to true, AWS Elemental MediaPackage places your encoder's Sequence Parameter Set (SPS), Picture Parameter Set (PPS), and Video Parameter Set (VPS) metadata in every video segment instead of in the init fragment.
public object IncludeEncoderConfigurationInSegments { get; set; }
Property Value
System.Object
Remarks
This lets you use different SPS/PPS/VPS settings for your assets during content playback.
IncludeIframeOnlyStream
This applies only to stream sets with a single video track.
public object IncludeIframeOnlyStream { get; set; }
Property Value
System.Object
Remarks
When true, the stream set includes an additional I-frame trick-play only stream, along with the other tracks. If false, this extra stream is not included.
PeriodTriggers
Controls whether AWS Elemental MediaPackage produces single-period or multi-period DASH manifests.
public string[] PeriodTriggers { get; set; }
Property Value
System.String[]
Remarks
For more information about periods, see Multi-period DASH in AWS Elemental MediaPackage .
Valid values:
SegmentDurationSeconds
Duration (in seconds) of each fragment.
public Nullable<double> SegmentDurationSeconds { get; set; }
Property Value
System.Nullable<System.Double>
Remarks
Actual fragments are rounded to the nearest multiple of the source segment duration.
SegmentTemplateFormat
Determines the type of SegmentTemplate included in the Media Presentation Description (MPD).
public string SegmentTemplateFormat { get; set; }
Property Value
System.String
Remarks
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.