IsmSegmentProps

class aws_cdk.aws_mediapackagev2_alpha.IsmSegmentProps(*, duration=None, include_iframe_only_streams=None, name=None, encryption=None)

Bases: SegmentPropsBase

(experimental) Properties for ISM (Microsoft Smooth Streaming) segment configuration.

Parameters:
  • duration (Optional[Duration]) – (experimental) Duration of each segment. Default: Duration.seconds(6)

  • include_iframe_only_streams (Optional[bool]) – (experimental) Whether to include I-frame-only streams. Default: false

  • name (Optional[str]) – (experimental) Name of the segment. Default: ‘segment’

  • encryption (Optional[IsmEncryption]) – (experimental) Encryption configuration for the ISM segment. Use IsmEncryption.speke() to create the configuration. Default: - No encryption

Stability:

experimental

ExampleMetadata:

infused

Example:

# channel: Channel
# speke_role: iam.IRole


OriginEndpoint(self, "IsmEndpoint",
    channel=channel,
    segment=Segment.ism(
        encryption=IsmEncryption.speke(
            resource_id="my-content-id",
            url="https://example.com/speke",
            role=speke_role
        )
    ),
    manifests=[Manifest.mss(manifest_name="index")]
)

Attributes

duration

(experimental) Duration of each segment.

Default:

Duration.seconds(6)

Stability:

experimental

encryption

(experimental) Encryption configuration for the ISM segment.

Use IsmEncryption.speke() to create the configuration.

Default:
  • No encryption

Stability:

experimental

include_iframe_only_streams

(experimental) Whether to include I-frame-only streams.

Default:

false

Stability:

experimental

name

(experimental) Name of the segment.

Default:

‘segment’

Stability:

experimental