amazonka-ivs-2.0: Amazon Interactive Video Service SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.IVS.Types.AudioConfiguration

Description

 
Synopsis

Documentation

data AudioConfiguration Source #

Object specifying a stream’s audio configuration, as set up by the broadcaster (usually in an encoder). This is part of the IngestConfiguration object and used for monitoring stream health.

See: newAudioConfiguration smart constructor.

Constructors

AudioConfiguration' 

Fields

Instances

Instances details
FromJSON AudioConfiguration Source # 
Instance details

Defined in Amazonka.IVS.Types.AudioConfiguration

Generic AudioConfiguration Source # 
Instance details

Defined in Amazonka.IVS.Types.AudioConfiguration

Associated Types

type Rep AudioConfiguration :: Type -> Type #

Read AudioConfiguration Source # 
Instance details

Defined in Amazonka.IVS.Types.AudioConfiguration

Show AudioConfiguration Source # 
Instance details

Defined in Amazonka.IVS.Types.AudioConfiguration

NFData AudioConfiguration Source # 
Instance details

Defined in Amazonka.IVS.Types.AudioConfiguration

Methods

rnf :: AudioConfiguration -> () #

Eq AudioConfiguration Source # 
Instance details

Defined in Amazonka.IVS.Types.AudioConfiguration

Hashable AudioConfiguration Source # 
Instance details

Defined in Amazonka.IVS.Types.AudioConfiguration

type Rep AudioConfiguration Source # 
Instance details

Defined in Amazonka.IVS.Types.AudioConfiguration

type Rep AudioConfiguration = D1 ('MetaData "AudioConfiguration" "Amazonka.IVS.Types.AudioConfiguration" "amazonka-ivs-2.0-1XuGgGDxNXQ7UL2Yr5LhmE" 'False) (C1 ('MetaCons "AudioConfiguration'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "channels") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer)) :*: S1 ('MetaSel ('Just "codec") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "sampleRate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer)) :*: S1 ('MetaSel ('Just "targetBitrate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer)))))

newAudioConfiguration :: AudioConfiguration Source #

Create a value of AudioConfiguration 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:channels:AudioConfiguration', audioConfiguration_channels - Number of audio channels.

$sel:codec:AudioConfiguration', audioConfiguration_codec - Codec used for the audio encoding.

$sel:sampleRate:AudioConfiguration', audioConfiguration_sampleRate - Number of audio samples recorded per second.

$sel:targetBitrate:AudioConfiguration', audioConfiguration_targetBitrate - The expected ingest bitrate (bits per second). This is configured in the encoder.

audioConfiguration_codec :: Lens' AudioConfiguration (Maybe Text) Source #

Codec used for the audio encoding.

audioConfiguration_sampleRate :: Lens' AudioConfiguration (Maybe Integer) Source #

Number of audio samples recorded per second.

audioConfiguration_targetBitrate :: Lens' AudioConfiguration (Maybe Integer) Source #

The expected ingest bitrate (bits per second). This is configured in the encoder.