Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Synopsis
- data GlobalConfiguration = GlobalConfiguration' {
- initialAudioGain :: Maybe Int
- inputEndAction :: Maybe GlobalConfigurationInputEndAction
- inputLossBehavior :: Maybe InputLossBehavior
- outputLockingMode :: Maybe GlobalConfigurationOutputLockingMode
- outputTimingSource :: Maybe GlobalConfigurationOutputTimingSource
- supportLowFramerateInputs :: Maybe GlobalConfigurationLowFramerateInputs
- newGlobalConfiguration :: GlobalConfiguration
- globalConfiguration_initialAudioGain :: Lens' GlobalConfiguration (Maybe Int)
- globalConfiguration_inputEndAction :: Lens' GlobalConfiguration (Maybe GlobalConfigurationInputEndAction)
- globalConfiguration_inputLossBehavior :: Lens' GlobalConfiguration (Maybe InputLossBehavior)
- globalConfiguration_outputLockingMode :: Lens' GlobalConfiguration (Maybe GlobalConfigurationOutputLockingMode)
- globalConfiguration_outputTimingSource :: Lens' GlobalConfiguration (Maybe GlobalConfigurationOutputTimingSource)
- globalConfiguration_supportLowFramerateInputs :: Lens' GlobalConfiguration (Maybe GlobalConfigurationLowFramerateInputs)
Documentation
data GlobalConfiguration Source #
Global Configuration
See: newGlobalConfiguration
smart constructor.
GlobalConfiguration' | |
|
Instances
newGlobalConfiguration :: GlobalConfiguration Source #
Create a value of GlobalConfiguration
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:initialAudioGain:GlobalConfiguration'
, globalConfiguration_initialAudioGain
- Value to set the initial audio gain for the Live Event.
$sel:inputEndAction:GlobalConfiguration'
, globalConfiguration_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).
$sel:inputLossBehavior:GlobalConfiguration'
, globalConfiguration_inputLossBehavior
- Settings for system actions when input is lost.
$sel:outputLockingMode:GlobalConfiguration'
, globalConfiguration_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.
$sel:outputTimingSource:GlobalConfiguration'
, globalConfiguration_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.
$sel:supportLowFramerateInputs:GlobalConfiguration'
, globalConfiguration_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.
globalConfiguration_initialAudioGain :: Lens' GlobalConfiguration (Maybe Int) Source #
Value to set the initial audio gain for the Live Event.
globalConfiguration_inputEndAction :: Lens' GlobalConfiguration (Maybe GlobalConfigurationInputEndAction) Source #
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).
globalConfiguration_inputLossBehavior :: Lens' GlobalConfiguration (Maybe InputLossBehavior) Source #
Settings for system actions when input is lost.
globalConfiguration_outputLockingMode :: Lens' GlobalConfiguration (Maybe GlobalConfigurationOutputLockingMode) Source #
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.
globalConfiguration_outputTimingSource :: Lens' GlobalConfiguration (Maybe GlobalConfigurationOutputTimingSource) Source #
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.
globalConfiguration_supportLowFramerateInputs :: Lens' GlobalConfiguration (Maybe GlobalConfigurationLowFramerateInputs) Source #
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.