Class GlobalConfiguration

    • Method Detail

      • initialAudioGain

        public final Integer initialAudioGain()
        Value to set the initial audio gain for the Live Event.
        Returns:
        Value to set the initial audio gain for the Live Event.
      • inputEndAction

        public final 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).

        If the service returns an enum value that is not available in the current SDK version, inputEndAction will return GlobalConfigurationInputEndAction.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from inputEndActionAsString().

        Returns:
        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).
        See Also:
        GlobalConfigurationInputEndAction
      • inputEndActionAsString

        public final String inputEndActionAsString()
        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).

        If the service returns an enum value that is not available in the current SDK version, inputEndAction will return GlobalConfigurationInputEndAction.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from inputEndActionAsString().

        Returns:
        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).
        See Also:
        GlobalConfigurationInputEndAction
      • inputLossBehavior

        public final InputLossBehavior inputLossBehavior()
        Settings for system actions when input is lost.
        Returns:
        Settings for system actions when input is lost.
      • outputLockingMode

        public final 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.

        If the service returns an enum value that is not available in the current SDK version, outputLockingMode will return GlobalConfigurationOutputLockingMode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from outputLockingModeAsString().

        Returns:
        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.
        See Also:
        GlobalConfigurationOutputLockingMode
      • outputLockingModeAsString

        public final String outputLockingModeAsString()
        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.

        If the service returns an enum value that is not available in the current SDK version, outputLockingMode will return GlobalConfigurationOutputLockingMode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from outputLockingModeAsString().

        Returns:
        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.
        See Also:
        GlobalConfigurationOutputLockingMode
      • outputTimingSource

        public final 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.

        If the service returns an enum value that is not available in the current SDK version, outputTimingSource will return GlobalConfigurationOutputTimingSource.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from outputTimingSourceAsString().

        Returns:
        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.
        See Also:
        GlobalConfigurationOutputTimingSource
      • outputTimingSourceAsString

        public final String outputTimingSourceAsString()
        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.

        If the service returns an enum value that is not available in the current SDK version, outputTimingSource will return GlobalConfigurationOutputTimingSource.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from outputTimingSourceAsString().

        Returns:
        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.
        See Also:
        GlobalConfigurationOutputTimingSource
      • outputLockingSettings

        public final OutputLockingSettings outputLockingSettings()
        Advanced output locking settings
        Returns:
        Advanced output locking settings
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object
      • equals

        public final boolean equals​(Object obj)
        Overrides:
        equals in class Object
      • toString

        public final String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object
      • getValueForField

        public final <T> Optional<T> getValueForField​(String fieldName,
                                                      Class<T> clazz)