aws / amazon-chime-sdk-js

A JavaScript client library for integrating multi-party communications powered by the Amazon Chime service.
Apache License 2.0
699 stars 473 forks source link

Unable to join meetings #2908

Open DeanoAus opened 2 weeks ago

DeanoAus commented 2 weeks ago

What happened and what did you expect to happen?

We use AWS Chime integrated into Salesforce to provide virtual care sessions for medical and mental health services. Our members access these sessions via a digital experience site on both mobile phones and PCs. This system has been running successfully in production for many months. However, this functionality has stopped working within the last 72 hours without any changes being made to our environment. As of today, none of our providers have been able to complete video therapy sessions, even with members who have previously used our services successfully.

We are observing this in the dev console:

chimeSettings.js:1 Uncaught (in promise) TypeError: this.deviceController.startVideoInput is not a function at q.startVideoPreview (chimeSettings.js:1:6030) at a.loadScript.then.escape (chimeSettings.js:1:5793) beaconLib.BeaconLibrary.js:41 Object

Have you reviewed our existing documentation?

Reproduction steps

Unsure how you can reproduce this, but it's impacting our entire org.

Amazon Chime SDK for JavaScript version

Don't know?

What browsers are you seeing the problem on?

All.

Browser version

All.

Meeting and Attendee ID Information.

No response

Browser console logs

chimeSettings.js:1 Uncaught (in promise) TypeError: this.deviceController.startVideoInput is not a function at q.startVideoPreview (chimeSettings.js:1:6030) at a.loadScript.then.escape (chimeSettings.js:1:5793) beaconLib.BeaconLibrary.js:41 Object

michhyun1 commented 2 weeks ago

Can you verify that there have been no changes or deployments within the last 72 hours?

You'll need to verify the version of the Chime SDK that you are using and verify that the Chime SDK dependency was not changed recently in your application and then deployed.

We haven't had a release since May 16.

DeanoAus commented 2 weeks ago

Interesting set of developments over the last few days. Thanks for your reply, @michhyun1.

Saleforce pushed a global update and forcing use of SDK 3.x. Unfortunately for us, our digital experience sites were making calls to a function in 2.x which was no longer available in 3.x.

This resulted in that error and callers unable to join rooms. SF needed to push another update overnight to resolve this, unsure of the details involved in it.

michhyun1 commented 2 weeks ago

https://docs.aws.amazon.com/chime-sdk/latest/dg/migrate-from-chm-namespace.html

Are you referring to this?