Skip to content
This repository has been archived by the owner on May 2, 2023. It is now read-only.

Latest commit

 

History

History
70 lines (46 loc) · 2.3 KB

README.md

File metadata and controls

70 lines (46 loc) · 2.3 KB

Azure Communication Services Group Call Demo

This repository is for group call on Azure Communication Services.

Prerequisites

Set Up

  1. Clone This Repository
  2. Run npm install at repository root
  3. Go to api folder
  4. Create New Azure Functions Project. (Ctrl + Shift + P then choose Azure Functions: Create New Project... on Visual Studio Code)
  5. Activate virtualenv if not activated (source .venv/bin/activate or \.venv\Scripts\activate)
  6. Run pip install -r requirements.txt

Create Azure Resources

Set Connection String value at local.settings.json after creating New Project for Azure Functions.

{
  "IsEncrypted": false,
  "Values": {
    "FUNCTIONS_WORKER_RUNTIME": "python",
    "COMMUNICATION_SERVICES_CONNECTION_STRING": "",
  }
}

Start Application

  1. Run npm start
  2. Run func host start at api (Don't forget activate your venv)

Deploy to Azure Static Web Apps

This App backend is Azure Functions. So you can deploy to Azure Static Web Apps.

How to deploy

Clone (git clone) or Fork this repository.

Go to Azure Portal and create Azure Static Web Apps.

Choose your cloned repo and set build details.

  • Build Presets: React
  • App location: /
  • Api location: api
  • Outout location: build

Set Azure Communication Services connection string on Azure Static Web Apps.

Reference

This repository refferred to these samples.

LICENSE

This repository is MIT LICENSE.