GlobalConfiguration

class aws_cdk.aws_medialive_alpha.GlobalConfiguration(*, initial_audio_gain=None, input_end_action=None, input_loss_behavior=None, output_locking=None, output_timing_source=None, support_low_framerate_inputs=None)

Bases: object

(experimental) Global configuration settings that apply to the entire channel.

Parameters:
  • initial_audio_gain (Union[int, float, None]) – (experimental) The initial audio gain for the channel (-60 to 60 dB). Default: - service default

  • input_end_action (Optional[InputEndAction]) – (experimental) Action to take when the current input completes. Default: - service default

  • input_loss_behavior (Union[InputLossBehavior, Dict[str, Any], None]) – (experimental) Behavior on input loss (substitute black / repeat frame, then a color or slate image). Default: - service default

  • output_locking (Optional[OutputLocking]) – (experimental) How MediaLive pipelines are synchronised — OutputLocking.pipeline(), OutputLocking.epoch(), or OutputLocking.disabled(). Default: - service default

  • output_timing_source (Optional[OutputTimingSource]) – (experimental) Source of output timing. Default: - service default

  • support_low_framerate_inputs (Optional[bool]) – (experimental) Enable support for low framerate inputs (e.g. music channels with less than 1 fps). Default: false

Stability:

experimental

ExampleMetadata:

infused

Example:

# stack: Stack
# input: medialive.IInput
# bucket: s3.IBucket
# video: medialive.EncodeConfiguration
# audio: medialive.EncodeConfiguration


medialive.Channel(stack, "Channel",
    inputs=[medialive.InputAttachment(input=input)],
    timecode_config=medialive.TimecodeConfig(
        source=medialive.TimecodeSource.EMBEDDED
    ),
    global_configuration=medialive.GlobalConfiguration(
        output_locking=medialive.OutputLocking.epoch(),
        output_timing_source=medialive.OutputTimingSource.INPUT_CLOCK
    ),
    output_groups=[
        medialive.OutputGroupConfiguration.hls(
            name="hls",
            destinations=[medialive.OutputDestination.to_bucket(bucket, "live/stream")],
            outputs=[medialive.HlsOutputDefinition(encodes=[video, audio], output_name="hls_out")]
        )
    ]
)

Attributes

initial_audio_gain

(experimental) The initial audio gain for the channel (-60 to 60 dB).

Default:
  • service default

Stability:

experimental

input_end_action

(experimental) Action to take when the current input completes.

Default:
  • service default

Stability:

experimental

input_loss_behavior

(experimental) Behavior on input loss (substitute black / repeat frame, then a color or slate image).

Default:
  • service default

Stability:

experimental

output_locking

(experimental) How MediaLive pipelines are synchronised — OutputLocking.pipeline(), OutputLocking.epoch(), or OutputLocking.disabled().

Default:
  • service default

See:

https://docs.aws.amazon.com/medialive/latest/ug/pipeline-lock.html

Stability:

experimental

output_timing_source

(experimental) Source of output timing.

Default:
  • service default

Stability:

experimental

support_low_framerate_inputs

(experimental) Enable support for low framerate inputs (e.g. music channels with less than 1 fps).

Default:

false

Stability:

experimental