Interface GlobalConfiguration.Builder

    • Method Detail

      • 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:
        GlobalConfigurationInputEndAction, GlobalConfigurationInputEndAction
      • inputEndAction

        GlobalConfiguration.Builder inputEndAction​(GlobalConfigurationInputEndAction 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:
        GlobalConfigurationInputEndAction, GlobalConfigurationInputEndAction
      • 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.
      • 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:
        GlobalConfigurationOutputLockingMode, GlobalConfigurationOutputLockingMode
      • outputLockingMode

        GlobalConfiguration.Builder outputLockingMode​(GlobalConfigurationOutputLockingMode 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:
        GlobalConfigurationOutputLockingMode, GlobalConfigurationOutputLockingMode
      • 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:
        GlobalConfigurationOutputTimingSource, GlobalConfigurationOutputTimingSource
      • outputTimingSource

        GlobalConfiguration.Builder outputTimingSource​(GlobalConfigurationOutputTimingSource 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:
        GlobalConfigurationOutputTimingSource, GlobalConfigurationOutputTimingSource
      • 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:
        GlobalConfigurationLowFramerateInputs, GlobalConfigurationLowFramerateInputs
      • 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:
        GlobalConfigurationLowFramerateInputs, GlobalConfigurationLowFramerateInputs
      • 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.