SrtOutputDefinition
- class aws_cdk.aws_medialive_alpha.SrtOutputDefinition(*, encodes, output_name, destinations, buffer=None, encryption_type=None, latency=None, m2ts_settings=None)
Bases:
OutputDefinition(experimental) Output definition for an SRT output group.
outputNameis normalised (underscores → hyphens) for use as the destination reference ID.- Parameters:
encodes (
Sequence[EncodeConfiguration]) – (experimental) The encode configurations to wire to this output.output_name (
str) – (experimental) The name of this output. Must be unique across all outputs in the channel.destinations (
Sequence[SrtDestination]) – (experimental) The SRT destination(s) for this output — one per channel pipeline. MediaLive publishes each SRT output to one destination per pipeline (the console calls these “Destination A” and “Destination B”). Provide a single destination for aSINGLE_PIPELINEchannel, or two (A then B) for aSTANDARDchannel. Each pipeline can target a different listener and carry its own encryption passphrase.buffer (
Optional[Duration]) – (experimental) The output buffering. Applied at millisecond granularity. Default: - service defaultencryption_type (
Optional[SrtEncryptionType]) – (experimental) The encryption type for the SRT output. Default: - no encryptionlatency (
Optional[Duration]) – (experimental) The SRT latency. Default: - service defaultm2ts_settings (
Optional[M2tsSettings]) – (experimental) MPEG-TS (M2TS) container settings for this output. Default: - service defaults
- Stability:
experimental
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. import aws_cdk.aws_medialive_alpha as medialive_alpha import aws_cdk as cdk # encode_configuration: medialive_alpha.EncodeConfiguration # m2ts_settings: medialive_alpha.M2tsSettings # srt_destination: medialive_alpha.SrtDestination # srt_encryption_type: medialive_alpha.SrtEncryptionType srt_output_definition = medialive_alpha.SrtOutputDefinition( destinations=[srt_destination], encodes=[encode_configuration], output_name="outputName", # the properties below are optional buffer=cdk.Duration.minutes(30), encryption_type=srt_encryption_type, latency=cdk.Duration.minutes(30), m2ts_settings=m2ts_settings )
Attributes
- buffer
(experimental) The output buffering.
Applied at millisecond granularity.
- Default:
service default
- Stability:
experimental
- destinations
(experimental) The SRT destination(s) for this output — one per channel pipeline.
MediaLive publishes each SRT output to one destination per pipeline (the console calls these “Destination A” and “Destination B”). Provide a single destination for a
SINGLE_PIPELINEchannel, or two (A then B) for aSTANDARDchannel. Each pipeline can target a different listener and carry its own encryption passphrase.- Stability:
experimental
- encodes
(experimental) The encode configurations to wire to this output.
- Stability:
experimental
- encryption_type
(experimental) The encryption type for the SRT output.
- Default:
no encryption
- Stability:
experimental
- latency
(experimental) The SRT latency.
- Default:
service default
- Stability:
experimental
- m2ts_settings
(experimental) MPEG-TS (M2TS) container settings for this output.
- Default:
service defaults
- Stability:
experimental
- output_name
(experimental) The name of this output.
Must be unique across all outputs in the channel.
- Stability:
experimental