ChannelDefinition
import type { ChannelDefinition } from "https://aws-api.deno.dev/v0.4/services/transcribeservice.ts?docs=full";
Makes it possible to specify which speaker is on which 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).