This is a demo which I did for .Net Conf 2021 in Taiwan for the session about Azure Communication Service.
The original of the content is from Microsoft tutorial content, which links are give in each section.
Power point slides (Chinese): https://www.slideshare.net/alantsai2007/2021-net-conf-taiwan-azure-communication-service-app
You can get user access token and user id (who you want to call) by using Azure Portal Identities & User Access Tokens
function
The purpose of this demo is to show how easily creating a 1 on 1 voice call can be set up
What you will need to do is:
- run
npm i
- call
npx webpack-dev-server --entry ./client.js --output bundle.js --debug --devtool inline-source-map
- navigate to http://localhost:8080/ on your browser
The js has been setup to call the echo phone - use for testing purpose. If you want to call the reall user, change line 34 of client.js to
[{ communicationUserId: userToCall }],
Quickstart: Add voice calling to your app
The purpose of this demo is to show how easily creating a 1 on 1 video call can be set up
What you will need to do is:
- run
npm i
- call
npx webpack-dev-server --entry ./client.js --output bundle.js --debug --devtool inline-source-map
- navigate to http://localhost:8080/ on your browser
You can open two browser instance, represent the participant of the call. Generate two user Id and token, the token use to initalize call and the callee will be the user Id If your computer/laptop support two camera (such as Surface Book 3), you can1change1 the drop down from 0 and 1 respectively
QuickStart: Add 1:1 video calling to your app
The purpose of this demo is to show how easily join a teams meeting using anonymous
What you will need to do is:
- run
npm i
- change client.js line 15 of
<access token>
to the accual access token of your user - call
npx webpack-dev-server --entry ./client.js --output bundle.js --debug --devtool inline-source-map
- navigate to http://localhost:8080/ on your browser
- You should create a teams meeting and get the invite link and input in the
Teams meeting link input box
- click
Join Teams Meeting
and you should see a user waiting in the lobby in Teams meeting