RtmpOutputGroupProps

class aws_cdk.aws_medialive_alpha.RtmpOutputGroupProps(*, name, outputs, ad_markers=None, authentication_scheme=None, cache_full_behavior=None, cache_length=None, caption_data=None, include_filler_nal_units=None, input_loss_action=None, restart_delay=None)

Bases: object

(experimental) Properties for an RTMP output group.

Parameters:
  • name (str) – (experimental) The name of this output group.

  • outputs (Sequence[Union[RtmpOutputDefinition, Dict[str, Any]]]) – (experimental) The outputs for this RTMP output group. Each output includes its own RTMP destination.

  • ad_markers (Optional[Sequence[RtmpAdMarkers]]) – (experimental) Choose the ad marker type for this output group. Default: - no ad markers

  • authentication_scheme (Optional[RtmpAuthenticationScheme]) – (experimental) The authentication scheme for the RTMP connection. Default: RtmpAuthenticationScheme.COMMON

  • cache_full_behavior (Optional[RtmpCacheFullBehavior]) – (experimental) Controls behavior when the content cache fills up. Default: - service default

  • cache_length (Optional[Duration]) – (experimental) The cache length, in seconds, that is used to calculate buffer size. Default: - service default

  • caption_data (Optional[RtmpCaptionData]) – (experimental) Controls the types of data that pass to onCaptionInfo outputs. Default: - service default

  • include_filler_nal_units (Optional[RtmpIncludeFillerNalUnits]) – (experimental) Controls whether filler NAL units are included in the output. Default: - service default

  • input_loss_action (Optional[RtmpInputLossAction]) – (experimental) Controls the behavior of this RTMP group if the input becomes unavailable. Default: - service default

  • restart_delay (Optional[Duration]) – (experimental) The delay before restarting after a streaming output failure. A value of Duration.seconds(0) means never restart. Default: Duration.seconds(1)

Stability:

experimental

ExampleMetadata:

infused

Example:

# video: medialive.EncodeConfiguration
# audio: medialive.EncodeConfiguration


medialive.OutputGroupConfiguration.rtmp(
    name="social",
    outputs=[medialive.RtmpOutputDefinition(
        encodes=[video, audio],
        output_name="live",
        destinations=[
            medialive.RtmpDestination.url("rtmp://rtmp.example.com/live", "your-stream-key")
        ]
    )]
)

Attributes

ad_markers

(experimental) Choose the ad marker type for this output group.

Default:
  • no ad markers

Stability:

experimental

authentication_scheme

(experimental) The authentication scheme for the RTMP connection.

Default:

RtmpAuthenticationScheme.COMMON

Stability:

experimental

cache_full_behavior

(experimental) Controls behavior when the content cache fills up.

Default:
  • service default

Stability:

experimental

cache_length

(experimental) The cache length, in seconds, that is used to calculate buffer size.

Default:
  • service default

Stability:

experimental

caption_data

(experimental) Controls the types of data that pass to onCaptionInfo outputs.

Default:
  • service default

Stability:

experimental

include_filler_nal_units

(experimental) Controls whether filler NAL units are included in the output.

Default:
  • service default

Stability:

experimental

input_loss_action

(experimental) Controls the behavior of this RTMP group if the input becomes unavailable.

Default:
  • service default

Stability:

experimental

name

(experimental) The name of this output group.

Stability:

experimental

outputs

(experimental) The outputs for this RTMP output group.

Each output includes its own RTMP destination.

Stability:

experimental

restart_delay

(experimental) The delay before restarting after a streaming output failure.

A value of Duration.seconds(0) means never restart.

Default:

Duration.seconds(1)

Stability:

experimental