Skip to content

enricohuang/volumecontrol

 
 

Repository files navigation

page_type languages products
sample
javascript
azure
azure-communication-services

Add 1 on 1 voice calling to your application

This code sample walks through the process of integration Azure Communication Services voice calling into your JavaScript application.

This quickstart sample includes the code that is explained as part of this document. See that document for additional details on how this sample works.

Prerequisites

Run the code

  1. Run npm i on the directory of the project to install dependencies
  2. Use the webpack serve command to build and run the app on a local server: npx webpack serve --config webpack.config.js
  3. Once the local server starts up, open your browser and navigate to http://localhost:8080/. You'll see the calling application:

Render of sample application

To make an 1:1 outgoing video call, first provide user access token to initiate the call agent, then provide a ACS user ID in the text field and clicking the Start Call button. When the callee answers the call, call will be connected and youll hear each other

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 70.3%
  • HTML 29.7%