| page_type | languages | products | |||
|---|---|---|---|---|---|
sample |
|
|
This code sample walks through the process of integration Azure Communication Services video 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.
- Obtain an Azure account with an active subscription. Create an account for free.
- You need to have Node.js Active LTS and Maintenance LTS versions (8.11.1 and 10.14.1)
- Create an active Communication Services resource. Create a Communication Services resource.
- Create a User Access Token to instantiate the call client. Learn how to create and manage user access tokens.
-
Run
npm ion the directory of the project to install dependencies -
Use the webpack-dev-server to build and run your app. Run the following command to bundle application host in on a local webserver:
npx webpack-dev-server --entry ./client.js --output bundle.js --debug --devtool inline-source-map
Open your browser and navigate to http://localhost:8080/. You should see the following:
You can make an 1:1 outgoing video call by providing a user ID in the text field and clicking the Start Call button.
