Interface GlobalConfiguration.Builder

All Superinterfaces:
Buildable, CopyableBuilder<GlobalConfiguration.Builder,GlobalConfiguration>, SdkBuilder<GlobalConfiguration.Builder,GlobalConfiguration>, SdkPojo
Enclosing class:
GlobalConfiguration

public static interface GlobalConfiguration.Builder extends SdkPojo, CopyableBuilder<GlobalConfiguration.Builder,GlobalConfiguration>
  • Method Details

    • initialAudioGain

      GlobalConfiguration.Builder initialAudioGain(Integer initialAudioGain)
      Value to set the initial audio gain for the Live Event.
      Parameters:
      initialAudioGain - Value to set the initial audio gain for the Live Event.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • inputEndAction

      GlobalConfiguration.Builder inputEndAction(String inputEndAction)
      Indicates the action to take when the current input completes (e.g. end-of-file). When switchAndLoopInputs is configured the encoder will restart at the beginning of the first input. When "none" is configured the encoder will transcode either black, a solid color, or a user specified slate images per the "Input Loss Behavior" configuration until the next input switch occurs (which is controlled through the Channel Schedule API).
      Parameters:
      inputEndAction - Indicates the action to take when the current input completes (e.g. end-of-file). When switchAndLoopInputs is configured the encoder will restart at the beginning of the first input. When "none" is configured the encoder will transcode either black, a solid color, or a user specified slate images per the "Input Loss Behavior" configuration until the next input switch occurs (which is controlled through the Channel Schedule API).
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • inputEndAction

      Indicates the action to take when the current input completes (e.g. end-of-file). When switchAndLoopInputs is configured the encoder will restart at the beginning of the first input. When "none" is configured the encoder will transcode either black, a solid color, or a user specified slate images per the "Input Loss Behavior" configuration until the next input switch occurs (which is controlled through the Channel Schedule API).
      Parameters:
      inputEndAction - Indicates the action to take when the current input completes (e.g. end-of-file). When switchAndLoopInputs is configured the encoder will restart at the beginning of the first input. When "none" is configured the encoder will transcode either black, a solid color, or a user specified slate images per the "Input Loss Behavior" configuration until the next input switch occurs (which is controlled through the Channel Schedule API).
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • inputLossBehavior

      GlobalConfiguration.Builder inputLossBehavior(InputLossBehavior inputLossBehavior)
      Settings for system actions when input is lost.
      Parameters:
      inputLossBehavior - Settings for system actions when input is lost.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • inputLossBehavior

      default GlobalConfiguration.Builder inputLossBehavior(Consumer<InputLossBehavior.Builder> inputLossBehavior)
      Settings for system actions when input is lost. This is a convenience method that creates an instance of the InputLossBehavior.Builder avoiding the need to create one manually via InputLossBehavior.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to inputLossBehavior(InputLossBehavior).

      Parameters:
      inputLossBehavior - a consumer that will call methods on InputLossBehavior.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • outputLockingMode

      GlobalConfiguration.Builder outputLockingMode(String outputLockingMode)
      Indicates how MediaLive pipelines are synchronized. PIPELINE_LOCKING - MediaLive will attempt to synchronize the output of each pipeline to the other. EPOCH_LOCKING - MediaLive will attempt to synchronize the output of each pipeline to the Unix epoch.
      Parameters:
      outputLockingMode - Indicates how MediaLive pipelines are synchronized. PIPELINE_LOCKING - MediaLive will attempt to synchronize the output of each pipeline to the other. EPOCH_LOCKING - MediaLive will attempt to synchronize the output of each pipeline to the Unix epoch.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • outputLockingMode

      Indicates how MediaLive pipelines are synchronized. PIPELINE_LOCKING - MediaLive will attempt to synchronize the output of each pipeline to the other. EPOCH_LOCKING - MediaLive will attempt to synchronize the output of each pipeline to the Unix epoch.
      Parameters:
      outputLockingMode - Indicates how MediaLive pipelines are synchronized. PIPELINE_LOCKING - MediaLive will attempt to synchronize the output of each pipeline to the other. EPOCH_LOCKING - MediaLive will attempt to synchronize the output of each pipeline to the Unix epoch.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • outputTimingSource

      GlobalConfiguration.Builder outputTimingSource(String outputTimingSource)
      Indicates whether the rate of frames emitted by the Live encoder should be paced by its system clock (which optionally may be locked to another source via NTP) or should be locked to the clock of the source that is providing the input stream.
      Parameters:
      outputTimingSource - Indicates whether the rate of frames emitted by the Live encoder should be paced by its system clock (which optionally may be locked to another source via NTP) or should be locked to the clock of the source that is providing the input stream.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • outputTimingSource

      Indicates whether the rate of frames emitted by the Live encoder should be paced by its system clock (which optionally may be locked to another source via NTP) or should be locked to the clock of the source that is providing the input stream.
      Parameters:
      outputTimingSource - Indicates whether the rate of frames emitted by the Live encoder should be paced by its system clock (which optionally may be locked to another source via NTP) or should be locked to the clock of the source that is providing the input stream.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • supportLowFramerateInputs

      GlobalConfiguration.Builder supportLowFramerateInputs(String supportLowFramerateInputs)
      Adjusts video input buffer for streams with very low video framerates. This is commonly set to enabled for music channels with less than one video frame per second.
      Parameters:
      supportLowFramerateInputs - Adjusts video input buffer for streams with very low video framerates. This is commonly set to enabled for music channels with less than one video frame per second.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • supportLowFramerateInputs

      GlobalConfiguration.Builder supportLowFramerateInputs(GlobalConfigurationLowFramerateInputs supportLowFramerateInputs)
      Adjusts video input buffer for streams with very low video framerates. This is commonly set to enabled for music channels with less than one video frame per second.
      Parameters:
      supportLowFramerateInputs - Adjusts video input buffer for streams with very low video framerates. This is commonly set to enabled for music channels with less than one video frame per second.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • outputLockingSettings

      GlobalConfiguration.Builder outputLockingSettings(OutputLockingSettings outputLockingSettings)
      Advanced output locking settings
      Parameters:
      outputLockingSettings - Advanced output locking settings
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • outputLockingSettings

      default GlobalConfiguration.Builder outputLockingSettings(Consumer<OutputLockingSettings.Builder> outputLockingSettings)
      Advanced output locking settings This is a convenience method that creates an instance of the OutputLockingSettings.Builder avoiding the need to create one manually via OutputLockingSettings.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to outputLockingSettings(OutputLockingSettings).

      Parameters:
      outputLockingSettings - a consumer that will call methods on OutputLockingSettings.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: