amazon-chime-sdk-js icon indicating copy to clipboard operation
amazon-chime-sdk-js copied to clipboard

Voice Focus Issue in Chime SDK

Open Yadukrish opened this issue 2 years ago • 5 comments

What happened and what did you expect to happen?

In our meeting application, as soon as we start meeting with voice focus enabled, within a minute we are getting voiceFocusInsufficientResources error from voice focus observer, which causes glitch in attendee audio.

Next, I tried to reproduce this issue in Chime Browser Demo App in my local, At first I couldn’t reproduce the issue we are facing in our application. Then I checked the demo app code and found out that demo app is missing "voice focus observer". I added voice focus observer in browser demo app and tried again, then I got the below error from observer.

image

image

The issue is, as soon as we start meeting with voice focus enabled, within a minute we are getting voiceFocusInsufficientResources error from voice focus observer, which causes glitch in attendee audio.

I was running on, Windows 11 Home (OS Build - 22621.1265) Processor - AMD Ryzen 7 Chrome - Version 111.0.5563.65 (Official Build) (64-bit) Chime SDK – 3.11.0 (latest) Voice Focus Details - Decided execution approach {"supported":true,"useSIMD":true,"processor":"voicefocus-inline-processor","executionApproach":"inline","variant":"c20","executionQuanta":3,"name":"default"}

Have you reviewed our existing documentation?

Reproduction steps

  1. Make sure "voice focus observer" is implemented in your app and add necessary logs in the observer.
  2. Start meeting and enable "voice focus".
  3. Soon you will get error logs from voice focus observer.

Amazon Chime SDK for JavaScript version

3.11.0

What browsers are you seeing the problem on?

Chrome

Browser version

Version 111.0.5563.65 (Official Build) (64-bit)

Meeting and Attendee ID Information.

No response

Browser console logs

image

Yadukrish avatar Mar 17 '23 06:03 Yadukrish