Wrong error bar and it persists in communication-react.
See original GitHub issueDescribe the bug; what happened?
- Enabling the camera while it’s being used by other application, it displays wrong error bar. I see
"Failed to start video"
, but instead it should dispatch"Unable to access camera. It may already be in use by another application."
- the error bar stays even after the camera is closed in other app and is enabled in the meeting.
What are the steps to reproduce the issue?
-
Open camera in any other app.
-
Start meeting.
-
Enable the camera.
-
Notice the error bar message [notice the error message]
-
Disable the camera in other app
-
Enable in the meeting [notice the error bar stays]
What behavior did you expect?
-
It should dispatch correct error. Should be dispatching
callCameraAlreadyInUse
but instead it dispatchsstartVideoGeneric
. https://github.com/Azure/communication-ui-library/blob/main/packages/react-components/src/localization/locales/en-US/strings.json#L127 -
And also, the error bar should disappear after certain amount of time, or at least when the camera is successfully enabled.
If applicable, provide screenshots:
In what environment did you see the issue? N/A
-
OS & Device: [e.g. MacOS, iOS, Windows, Linux] on [iPhone 7, PC] Windows
-
Browser [e.g. Microsoft Edge, Google Chrome, Apple Safari, Mozilla FireFox] Chrome
-
Version [e.g. 1.8.0] communication-react; 1.3.0
Is there any additional information?
Issue Analytics
- State:
- Created a year ago
- Comments:6 (1 by maintainers)
To provide an update here, this is an issue with the
@azure/communication-calling
package throwing ageneric error
instead of setting a UFD (user facing diagnostic) flag that the camera was in use. This issue has been reported to the team and transferring this issue to the appropriate repoWe were able to repro the issue on our end @adnan-ashfaq. Our team is currently investigating the issue, will keep you posted!