aws-samples/amazon-transcribe-live-call-analytics

Mic input role (CALLER vs. AGENT) assignment not working

Closed this issue · 2 comments

Description:
Changing the role (CALLER vs. AGENT) for mic input does not make any difference in the label assignment.

Screenshots
Screenshot 2024-08-02 at 5 22 45 PM
Screenshot 2024-08-02 at 5 22 53 PM

Steps to reproduce the issue:
1/ From "Stream Audio" tab, choose CALLER from the "Microphone Role" dropdown
2/ Speak into the microphone
3/ Check the turn-by-turn transcriptions - the label assigned to the transcriptions of audio from mic input is "AGENT" (this should be "CALLER"

LCA Version with the issue
8.13 (public version from lca github repo)

Proposed Fix:
In StreamAudio.jsx, check micInputOption.value. Based on the value (agent vs. caller), setup the channel merger inputs.

Fixed in v0.9.0