Azure-Samples / communication-services-contoso-med-app

Contoso Medical Application built using Azure Communication Services
MIT License
38 stars 38 forks source link

Crash when calling #7

Open iBoonz opened 3 years ago

iBoonz commented 3 years ago

Please provide us with the following information:

This issue is for a: (mark with an x)

- [ x] bug report -> please search issues before submitting
- [ ] feature request
- [ ] documentation issue or request
- [ ] regression (a behavior that used to work and stopped in a new release)

Minimal steps to reproduce

run application with parameters filled in and call other person

Any log messages given by the failure

Unhandled Rejection (TypeError): _azure_communication_calling__WEBPACK_IMPORTED_MODULE_2__.Renderer is not a constructor LocalVideoPreviewCard.componentDidMount C:/Git Clones/communication-services-contoso-med-app/contoso-web-app/src/pages/chat/LocalVideoPreviewCard.js:21

Unhandled Rejection (CommunicationServicesError): Not able to subscribe to event callStateChanged, unknown event name

Unhandled Rejection (CommunicationServicesError): Not able to subscribe to event isRecordingActiveChanged, unknown event name

Expected/desired behavior

having a video call

OS and Version?

Windows 10

Versions

Mention any other details that might be useful


Thanks! We'll be in touch soon.

ddematheu2 commented 3 years ago

@gc-codes could you help debug.

Dharm78 commented 3 years ago

I am also getting the same error while trying to follow this article : https://docs.microsoft.com/en-us/azure/communication-services/quickstarts/chat/meeting-interop

Error: Uncaught (in promise) CallingCommunicationError: Not able to subscribe to event callStateChanged, unknown event name

Dharm78 commented 3 years ago

Changing from callStateChanged----->stateChanged fixed the issue for me.