Class: Aws::IVS::Types::AudioConfiguration

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-ivs/types.rb

Overview

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.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#channelsInteger

Number of audio channels.

Returns:

  • (Integer)


48
49
50
51
52
53
54
55
# File 'lib/aws-sdk-ivs/types.rb', line 48

class AudioConfiguration < Struct.new(
  :codec,
  :target_bitrate,
  :sample_rate,
  :channels)
  SENSITIVE = []
  include Aws::Structure
end

#codecString

Codec used for the audio encoding.

Returns:

  • (String)


48
49
50
51
52
53
54
55
# File 'lib/aws-sdk-ivs/types.rb', line 48

class AudioConfiguration < Struct.new(
  :codec,
  :target_bitrate,
  :sample_rate,
  :channels)
  SENSITIVE = []
  include Aws::Structure
end

#sample_rateInteger

Number of audio samples recorded per second.

Returns:

  • (Integer)


48
49
50
51
52
53
54
55
# File 'lib/aws-sdk-ivs/types.rb', line 48

class AudioConfiguration < Struct.new(
  :codec,
  :target_bitrate,
  :sample_rate,
  :channels)
  SENSITIVE = []
  include Aws::Structure
end

#target_bitrateInteger

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

Returns:

  • (Integer)


48
49
50
51
52
53
54
55
# File 'lib/aws-sdk-ivs/types.rb', line 48

class AudioConfiguration < Struct.new(
  :codec,
  :target_bitrate,
  :sample_rate,
  :channels)
  SENSITIVE = []
  include Aws::Structure
end