The goal of this repo is to show how we might use the AzureCommunicationCallAdapter
with a component application. This shows that we can give contoso the ability to create their own composite like experience leveraging the power of our adapters.
Changes to the UI library that were made to make this work were:
- Expose the
CallAdapterProvider
from the react-composites package. - Expose the composite version of
usePropsFor
asusePropsForComposite
to allow contoso to manage the data and handlers of their components.
- node v14 - v17
If you are installing the packages on Mac or Linux you will need to update the Communication react package:
"@azure/communication-react": ".\\deps\\azure-communication-react-1.3.2-beta.0-with-provider.tgz",
to be:
"@azure/communication-react": "./deps/azure-communication-react-1.3.2-beta.0-with-provider.tgz",
To get started run the following:
- setup yarn on your machine
npm install -g yarn
- install the dependencies
yarn
- Run the app
yarn start