Skip to content

Commit eba3caf

Browse files
Merge pull request #264993 from sloanster/patch-44
Updated feedback changes from engineers and field
2 parents 24d0196 + faceab3 commit eba3caf

File tree

1 file changed

+15
-15
lines changed

1 file changed

+15
-15
lines changed

articles/communication-services/tutorials/migrating-to-azure-communication-services-calling.md

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ Azure Communication Services offers various call types. The type of call you cho
8080

8181
## Installation
8282

83-
### Install the Azure Communication Services calling SDK
83+
### Install the Azure Communication Services Calling SDK
8484

8585
Use the `npm install` command to install the Azure Communication Services Calling SDK for JavaScript.
8686
```console
@@ -198,15 +198,15 @@ Call creation and start are synchronous. The `call` instance enables you to subs
198198
call.on('stateChanged', async () =\> { console.log(\`Call state changed: \${call.state}\`) });
199199
```
200200

201-
### Azure Communication Services 1:1 Call
201+
#### 1:1 Call
202202

203203
To call another Azure Communication Services user, use the `startCall` method on `callAgent` and pass the recipient's `CommunicationUserIdentifier` that you [created with the Communication Services administration library](../quickstarts/identity/access-tokens.md).
204204
```javascript
205205
const userCallee = { communicationUserId: '\<Azure_Communication_Services_USER_ID\>' };
206206
const oneToOneCall = callAgent.startCall([userCallee]);
207207
```
208208
209-
### Azure Communication Services Room Call
209+
#### Rooms Call
210210
211211
To join a `Room` call, you can instantiate a context object with the `roomId` property as the room identifier. To join the call, use the `join` method and pass the context instance.
212212
```javascript
@@ -215,15 +215,15 @@ const call = callAgent.join(context);
215215
```
216216
A **Room** offers application developers better control over who can join a call, when they meet and how they collaborate. To learn more about **Rooms**, see the [Rooms overview](../concepts/rooms/room-concept.md), or see [Quickstart: Join a room call](../quickstarts/rooms/join-rooms-call.md).
217217
218-
### Azure Communication Services Group Call
218+
#### Group Call
219219
220220
To start a new group call or join an ongoing group call, use the `join` method and pass an object with a `groupId` property. The `groupId` value must be a GUID.
221221
```javascript
222222
const context = { groupId: '\<GUID\>'};
223223
const call = callAgent.join(context);
224224
```
225225
226-
### Azure Communication Services Teams call
226+
#### Teams call
227227
228228
Start a synchronous one-to-one or group call using the `startCall` API on `teamsCallAgent`. You can provide `MicrosoftTeamsUserIdentifier` or `PhoneNumberIdentifier` as a parameter to define the target of the call. The method returns the `TeamsCall` instance that allows you to subscribe to call events.
229229
```javascript
@@ -297,7 +297,7 @@ callAgent.on('callsUpdated', (event) => {
297297
298298
For Azure Communication Services Teams implementation, see how to [Receive a Teams Incoming Call](../how-tos/cte-calling-sdk/manage-calls.md#receive-a-teams-incoming-call).
299299
300-
## Adding participants to call
300+
## Adding and removing participants to a call
301301
302302
### Twilio
303303
@@ -363,11 +363,11 @@ remoteParticipant.on('stateChanged', () => {
363363
});
364364
```
365365

366-
## Video
366+
## Video calling
367367

368-
### Starting and stopping video
368+
## Starting and stopping video
369369

370-
#### Twilio
370+
### Twilio
371371

372372
```javascript
373373
const videoTrack = await twilioVideo.createLocalVideoTrack({ constraints });
@@ -399,7 +399,7 @@ localParticipant.unpublishTrack(videoTrack);
399399
400400
Then create a new Video Track with the correct constraints.
401401
402-
#### Azure Communication Services
402+
### Azure Communication Services
403403
To start a video while on a call, you need to enumerate cameras using the `getCameras` method on the `deviceManager` object. Then create a new instance of `LocalVideoStream` with the desired camera and pass the `LocalVideoStream` object into the `startVideo` method of an existing call object:
404404
405405
```javascript
@@ -592,13 +592,13 @@ await blurProcessor.loadModel();
592592
```
593593
594594
As soon as the model is loaded, you can add the background to the video track using the `addProcessor` method:
595-
596-
| videoTrack.addProcessor(processor, { inputFrameBufferType: 'video', outputFrameBufferContextType: 'webgl2' }); |
597-
|------------------------------------------------------------------------------------------------------------------|
595+
```javascript
596+
videoTrack.addProcessor(processor, { inputFrameBufferType: 'video', outputFrameBufferContextType: 'webgl2' });
597+
```
598598
599599
#### Azure Communication Services
600600
601-
Use the npm install command to install the Azure Communication Services Effects SDK for JavaScript.
601+
Use the npm install command to install the [Azure Communication Services Effects SDK](../quickstarts/voice-video-calling/get-started-video-effects.md?pivots=platform-web) for JavaScript.
602602
```console
603603
npm install @azure/communication-calling-effects --save
604604
```
@@ -1060,7 +1060,7 @@ You can learn more about ensuring precall readiness in [Pre-Call diagnostics](..
10601060

10611061
## Event listeners
10621062

1063-
Twilio
1063+
### Twilio
10641064

10651065
```javascript
10661066
twilioRoom.on('participantConneted', (participant) => {

0 commit comments

Comments
 (0)