MCPcopy Index your code
hub / github.com/Azure-Samples/communication-services-web-calling-hero

github.com/Azure-Samples/communication-services-web-calling-hero @1.4.1

Chat with this repo
repository ↗ · DeepWiki ↗ · release 1.4.1 ↗ · + Follow
69 symbols 176 edges 51 files 4 documented · 6% updated 5mo ago1d4dce3 · 2025-08-11★ 1101 open issues
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

page_type: sample languages: - typescript - nodejs products: - azure - azure-communication-services


Deploy to Azure

Group Calling Sample

Overview

This is a sample application to show how we can use the @azure/communication-react package to build a calling experience. Learn more about the Azure Communication Services UI Library. The client-side application is a React based user interface. Alongside this front-end is a NodeJS web application powered by ExpressJS that performs functionality like minting new user tokens for each call participant.

Additional documentation for this sample can be found on Microsoft Docs.

Before contributing to this sample, please read our contribution guidelines.

Homepage

❤️ Feedback

We appreciate your feedback and energy helping us improve our services. Please let us know if you are satisfied with ACS through this survey.

Prerequisites

Code structure

  • ./Calling/src/app: Where the client code lives
  • ./Calling/src/app/App.tsx: Entry point into the calling sample
  • ./Calling/src/app/views/HomeScreen.tsx:
  • ./Calling/src/app/views/CallScreen.tsx:
  • ./Calling/src/app/views/EndCall.tsx:
  • ./Calling/src/app/views/UnsupportedBrowserPage.tsx:
  • ./Server: server code
  • ./Server/appsettings.json: Where to put your azure communication services connection string

Before running the sample for the first time

  1. Open an instance of PowerShell, Windows Terminal, Command Prompt or equivalent and navigate to the directory that you'd like to clone the sample to.

shell git clone https://github.com/Azure-Samples/communication-services-web-calling-hero.git`

  1. Get the Connection String from the Azure portal. For more information on connection strings, see Create an Azure Communication Resources
  2. Once you get the Connection String, add the connection string to the samples/Server/appsetting.json file. Input your connection string in the variable: ResourceConnectionString.
  3. Get the Endpoint string from the Azure portal. For more information on Endpoint strings, see Create an Azure Communication Resources
  4. Once you get the Endpoint String, add the endpoint string to the samples/Server/appsetting.json file. Input your endpoint string in the variable EndpointUrl

Local run

  1. Install dependencies

    bash npm run setup

  2. Start the calling app

    bash npm run start

    This will open a client server on port 3000 that serves the website files, and an api server on port 8080 that performs functionality like minting tokens for call participants.

Troubleshooting

  1. The app shows an "Unsupported browser" screen but I am on a supported browser.

    If your app is being served over a hostname other then localhost, you must serve traffic over https and not http.

Publish to Azure

  1. npm run setup
  2. npm run build
  3. npm run package
  4. Use the Azure extension and deploy the Calling/dist directory to your app service

Additional Reading

Extension points exported contracts — how you extend this code

Core symbols most depended-on inside this repo

Shape

Function 51
Interface 10
Method 7
Enum 1

Languages

TypeScript100%

Modules by API surface

Calling/src/app/utils/AppUtils.ts8 symbols
Calling/src/app/views/DisplayNameField.tsx6 symbols
Calling/src/app/utils/localStorage.ts5 symbols
Server/src/lib/identityClient.ts4 symbols
Calling/src/app/views/EndCall.tsx4 symbols
Calling/src/app/views/CallScreen.tsx4 symbols
Calling/src/app/views/CallError.tsx4 symbols
Calling/src/app/theming/SwitchableFluentThemeProvider.tsx4 symbols
Server/bin/www.ts3 symbols
Calling/src/app/views/HomeScreen.tsx3 symbols
Calling/src/app/utils/useIsMobile.ts3 symbols
Calling/src/app/theming/ThemeSelector.tsx3 symbols

For agents

$ claude mcp add communication-services-web-calling-hero \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page