Azure-Samples / communication-services-web-calling-tutorial

Onboarding sample for web calling capabilities for Azure Communication Services
MIT License
45 stars 65 forks source link

page_type: sample languages:

ACS Calling Tutorial

Prerequisites

Code structure

Cloning the repo

  1. Open a terminal or command prompt, and cd into a folder where you would like to clone this repo. The run:
    • git clone https://github.com/Azure-Samples/communication-services-web-calling-tutorial
    • cd communication-services-web-calling-tutorial/Project

      Running the app locally

  2. Get your Azure Communication Services resource connection string from the Azure portal, and put it as the value for connectionString in serverConfig.json file.
  3. From the terminal/command prompt, Run:
    • npm install
    • npm run build-local
    • npm run start-local
  4. Open localhost:5000 in a browser. (Supported browsers are Chrome, Edge, and Safari)

Deploying to Azure App Service

Troubleshooting

Resources

  1. Documentation on how to use the ACS Calling SDK for Javascript can be found on https://docs.microsoft.com/en-gb/azure/communication-services/quickstarts/voice-video-calling/calling-client-samples?pivots=platform-web
  2. ACS Calling SDK for Javascript API reference documentation can be found on https://docs.microsoft.com/en-us/javascript/api/azure-communication-services/@azure/communication-calling/?view=azure-communication-services-js
  3. Documentation on Communications Calling SDK with Teams identity can be found on https://learn.microsoft.com/en-us/azure/communication-services/concepts/teams-interop
  4. Documentation on how to setup and get access tokens for teams User can be found on https://learn.microsoft.com/en-us/azure/communication-services/quickstarts/manage-teams-identity?pivots=programming-language-javascript