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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-ivs/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 IngestConfigurations object and the deprecated IngestConfiguration object. It is used for monitoring stream health.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#channelsInteger

Number of audio channels.

Returns:

  • (Integer)


54
55
56
57
58
59
60
61
62
# File 'gems/aws-sdk-ivs/lib/aws-sdk-ivs/types.rb', line 54

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

#codecString

Codec used for the audio encoding.

Returns:

  • (String)


54
55
56
57
58
59
60
61
62
# File 'gems/aws-sdk-ivs/lib/aws-sdk-ivs/types.rb', line 54

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

#sample_rateInteger

Number of audio samples recorded per second.

Returns:

  • (Integer)


54
55
56
57
58
59
60
61
62
# File 'gems/aws-sdk-ivs/lib/aws-sdk-ivs/types.rb', line 54

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

#target_bitrateInteger

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

Returns:

  • (Integer)


54
55
56
57
58
59
60
61
62
# File 'gems/aws-sdk-ivs/lib/aws-sdk-ivs/types.rb', line 54

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

#trackString

Name of the audio track (if the stream has an audio track). If multitrack is not enabled, this is track0 (the sole track).

Returns:

  • (String)


54
55
56
57
58
59
60
61
62
# File 'gems/aws-sdk-ivs/lib/aws-sdk-ivs/types.rb', line 54

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