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

meetingFailed When a Participant Turns Their Camera On

Open shriyajuneja opened this issue 1 year ago • 0 comments

What happened and what did you expect to happen?

This issue is intermittently reproducible across multiple versions of the Amazon Chime SDK. We have been using the following versions in production since 2023, and they have previously operated smoothly: amazon-chime-sdk-component-library-react: 3.7.0 amazon-chime-sdk-js: 3.18.0

Recently, users have reported that their calls randomly transition to a "connecting" state, particularly when one of the participants turns on their camera. Upon reviewing the logs, we observed that the agent received the event meetingFailed, with the message: "Failed during a meeting - The signaling connection failed." This "connecting" state is shown in our application whenever we receive the meetingFailed event.

Have you reviewed our existing documentation?

Reproduction steps

We have identified two scenarios that reproduce the issue:

Scenario 1:

The agent's camera is off, and the customer has their camera turned on. After the customer turns on their camera, the agent also turns on their camera. The call then enters a "loading" state for the agent.

Scenario 2:

Both participants have their cameras off. When the user turns on their camera, the agent’s call transitions into a "connecting" state.

Amazon Chime SDK for JavaScript version

3.18.0, 3.21.0

What browsers are you seeing the problem on?

Chrome

Browser version

127.0.0.0

Meeting and Attendee ID Information.

meeting id - 4708a8b7-17b3-4f3f-b01f-67bf1fc52713

attendeeID - e4ae086a-2d35-3947-9757-846b642ad332, 6b036989-906d-37f5-b153-4e5516a8418

Browser console logs

https://prod-cdata-app-export.sprinklr.com/video_events_log-787/video_events_log_a06cbaec-8b38-48ea-be79-870547804882.txt

shriyajuneja avatar Aug 12 '24 23:08 shriyajuneja