interface DashBaseUrlProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.MediaPackageV2.Alpha.DashBaseUrlProperty |
Go | github.com/aws/aws-cdk-go/awsmediapackagev2alpha/v2#DashBaseUrlProperty |
Java | software.amazon.awscdk.services.mediapackagev2.alpha.DashBaseUrlProperty |
Python | aws_cdk.aws_mediapackagev2_alpha.DashBaseUrlProperty |
TypeScript (source) | @aws-cdk/aws-mediapackagev2-alpha ยป DashBaseUrlProperty |
The base URLs to use for retrieving segments.
You can specify multiple locations and indicate the priority and weight for when each should be used, for use in multi-CDN workflows.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as mediapackagev2_alpha from '@aws-cdk/aws-mediapackagev2-alpha';
const dashBaseUrlProperty: mediapackagev2_alpha.DashBaseUrlProperty = {
url: 'url',
// the properties below are optional
dvbPriority: 123,
dvbWeight: 123,
serviceLocation: 'serviceLocation',
};
Properties
| Name | Type | Description |
|---|---|---|
| url | string | A source location for segments. |
| dvb | number | For use with DVB-DASH profiles only. |
| dvb | number | For use with DVB-DASH profiles only. |
| service | string | The name of the source location. |
url
Type:
string
A source location for segments.
dvbPriority?
Type:
number
(optional, default: No priority specified)
For use with DVB-DASH profiles only.
The priority of this location for serving segments. The lower the number, the higher the priority.
dvbWeight?
Type:
number
(optional, default: No weight specified)
For use with DVB-DASH profiles only.
The weighting for source locations that have the same priority.
serviceLocation?
Type:
string
(optional, default: No service location specified)
The name of the source location.

.NET
Go
Java
Python
TypeScript (