page_type | languages | products | |||
---|---|---|---|---|---|
sample |
|
|
This tutorial demonstrates step-by-step instructions to build a video calling web application empowered by Azure Communication Service. This application connects you to a Microsoft Teams voice application as shown in the picture. The tutorial has a prerequisites section that prepares you for further development. After the prerequisites section, we will prepare you for web development environment; give you sample code to build and run; and teach you how to use the application.
- Prerequisites
- Setup development environment
- Develop the code
- Run the code
- Use the application
- Ask questions
- Create Microsoft Azure account with active subscription
- Install Node.js
- Add Azure Communication Service resrouce to your Azure subscription
- Create Call Queue
- Obtain a application id using Graph Explorer
- Open terminal and run the following command to create a folder for your calling application.
mkdir myTeamsCallingApp && cd myTeamsCallingApp
- Install packages with the following commands.
npm install @azure/communication-common@next --save
npm install @azure/communication-calling@latest --save
- Install webpack with the following command.
npm install [email protected] [email protected] [email protected] --save-dev
- Build and run your code with the following command in terminal.
npx webpack-dev-server --entry ./client.js --output bundle.js --debug --devtool inline-source-map
- Go to http://localhost:8080/ from your browser to access the application.
-
Enter the User access token you acquired from Prerequisites, and click login
-
Enter a Teams id you acquired from “Prerequisites” as your callee, and click Start Call
You can post your questions via our support channels.