Skip to content

Hero sample to showcase web calling capabilities for Azure Communication Services

License

Notifications You must be signed in to change notification settings

bnookala/communication-services-web-calling-hero

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

94 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Deploy to Azure

Group Calling Sample

This is a sample application to show how the ACS Calling Web SDK can be used to build a group calling experience. The client-side application is a React based user interface which uses Redux for handling complex state while leveraging Microsoft Fluent UI. Powering this front-end is a TypeScript web API powered by Node/Express to connect this application with Azure Communication Services.

The sample has been extended to include file sharing capabilities between meeting participants.

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

Homepage

Prerequisites

Code structure

  • ./Calling/ClientApp: frontend client
    • ./Calling/ClientApp/src
      • ./Calling/ClientApp/src/Components : React components to help build the client app calling experience
      • ./Calling/ClientApp/src/Containers : Connects the redux functionality to the React components
      • ./Calling/ClientApp/src/Core : Containers a redux wrapper around the ACS Web Calling SDK
    • ./ClientApp/src/index.js : Entry point for the client app
  • ./Calling/NodeApi : Backend API for client app to get a token to use with the ACS Web Calling SDK, as well as the file APIs
    • ./Calling/NodeApi/index.ts: Entry point for the API

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.
  2. git clone https://github.com/Azure-Samples/communication-services-web-calling-hero.git
  3. Get the Connection String from the Azure portal for the ACS resource. For more information on connection strings, see Create an Azure Communication Resources
  4. Get the Connection String from the Azure portal for the Azure Storage resource.
  5. Create a .env file in ./Calling/NodeApi with the following keys and fill in the values from your ACS and Storage connection strings:
    ACS_CONNECTION_STRING=
    STORAGE_CONNECTION_STRING=
    

Locally running the sample app

  1. Go to the ./Calling/NodeApi folder and run npm install followed by npm run watch.
  2. Go to the ./Calling/ClientApp folder and run npm install followed by npm run start.
  3. Open a browser to localhost:3000

Troubleshooting

N/A

Publish to Azure

N/A

Additional Reading

About

Hero sample to showcase web calling capabilities for Azure Communication Services

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Languages

  • TypeScript 92.2%
  • C# 6.8%
  • Other 1.0%