Class: Aws::TranscribeStreamingService::Types::ChannelDefinition

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

Overview

Makes it possible to specify which speaker is on which audio channel. For example, if your agent is the first participant to speak, you would set ‘ChannelId` to `0` (to indicate the first channel) and `ParticipantRole` to `AGENT` (to indicate that it’s the agent speaking).

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#channel_idInteger

Specify the audio channel you want to define.

Returns:

  • (Integer)


230
231
232
233
234
235
# File 'lib/aws-sdk-transcribestreamingservice/types.rb', line 230

class ChannelDefinition < Struct.new(
  :channel_id,
  :participant_role)
  SENSITIVE = []
  include Aws::Structure
end

#participant_roleString

Specify the speaker you want to define. Omitting this parameter is equivalent to specifying both participants.

Returns:

  • (String)


230
231
232
233
234
235
# File 'lib/aws-sdk-transcribestreamingservice/types.rb', line 230

class ChannelDefinition < Struct.new(
  :channel_id,
  :participant_role)
  SENSITIVE = []
  include Aws::Structure
end