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.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#channelsInteger

Number of audio channels.

Returns:

  • (Integer)


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

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

#codecString

Codec used for the audio encoding.

Returns:

  • (String)


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

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

#sample_rateInteger

Number of audio samples recorded per second.

Returns:

  • (Integer)


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

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

#target_bitrateInteger

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

Returns:

  • (Integer)


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

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