Interface RtmpOutputGroupProps

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
RtmpOutputGroupProps.Jsii$Proxy

@Generated(value="jsii-pacmak/1.139.0 (build 26a6b54)", date="2026-09-02T11:03:41.319Z") @Stability(Experimental) public interface RtmpOutputGroupProps extends software.amazon.jsii.JsiiSerializable
(experimental) Properties for an RTMP output group.

Example:

 EncodeConfiguration video;
 EncodeConfiguration audio;
 OutputGroupConfiguration.rtmp(RtmpOutputGroupProps.builder()
         .name("social")
         .outputs(List.of(RtmpOutputDefinition.builder()
                 .encodes(List.of(video, audio))
                 .outputName("live")
                 .destinations(List.of(RtmpDestination.url("rtmp://rtmp.example.com/live", "your-stream-key")))
                 .build()))
         .build());
 
  • Method Details

    • getName

      @Stability(Experimental) @NotNull String getName()
      (experimental) The name of this output group.
    • getOutputs

      @Stability(Experimental) @NotNull List<RtmpOutputDefinition> getOutputs()
      (experimental) The outputs for this RTMP output group.

      Each output includes its own RTMP destination.

    • getAdMarkers

      @Stability(Experimental) @Nullable default List<RtmpAdMarkers> getAdMarkers()
      (experimental) Choose the ad marker type for this output group.

      Default: - no ad markers

    • getAuthenticationScheme

      @Stability(Experimental) @Nullable default RtmpAuthenticationScheme getAuthenticationScheme()
      (experimental) The authentication scheme for the RTMP connection.

      Default: RtmpAuthenticationScheme.COMMON

    • getCacheFullBehavior

      @Stability(Experimental) @Nullable default RtmpCacheFullBehavior getCacheFullBehavior()
      (experimental) Controls behavior when the content cache fills up.

      Default: - service default

    • getCacheLength

      @Stability(Experimental) @Nullable default Duration getCacheLength()
      (experimental) The cache length, in seconds, that is used to calculate buffer size.

      Default: - service default

    • getCaptionData

      @Stability(Experimental) @Nullable default RtmpCaptionData getCaptionData()
      (experimental) Controls the types of data that pass to onCaptionInfo outputs.

      Default: - service default

    • getIncludeFillerNalUnits

      @Stability(Experimental) @Nullable default RtmpIncludeFillerNalUnits getIncludeFillerNalUnits()
      (experimental) Controls whether filler NAL units are included in the output.

      Default: - service default

    • getInputLossAction

      @Stability(Experimental) @Nullable default RtmpInputLossAction getInputLossAction()
      (experimental) Controls the behavior of this RTMP group if the input becomes unavailable.

      Default: - service default

    • getRestartDelay

      @Stability(Experimental) @Nullable default Duration getRestartDelay()
      (experimental) The delay before restarting after a streaming output failure.

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

      Default: Duration.seconds(1)

    • builder

      @Stability(Experimental) static RtmpOutputGroupProps.Builder builder()
      Returns:
      a RtmpOutputGroupProps.Builder of RtmpOutputGroupProps