You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/communication-services/tutorials/migrating-to-azure-communication-services-calling.md
+15-15Lines changed: 15 additions & 15 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -80,7 +80,7 @@ Azure Communication Services offers various call types. The type of call you cho
80
80
81
81
## Installation
82
82
83
-
### Install the Azure Communication Services calling SDK
83
+
### Install the Azure Communication Services Calling SDK
84
84
85
85
Use the `npm install` command to install the Azure Communication Services Calling SDK for JavaScript.
86
86
```console
@@ -198,15 +198,15 @@ Call creation and start are synchronous. The `call` instance enables you to subs
198
198
call.on('stateChanged', async () =\> { console.log(\`Call state changed: \${call.state}\`) });
199
199
```
200
200
201
-
### Azure Communication Services1:1 Call
201
+
####1:1 Call
202
202
203
203
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).
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.
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).
217
217
218
-
### Azure Communication Services Group Call
218
+
#### Group Call
219
219
220
220
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.
221
221
```javascript
222
222
const context = { groupId: '\<GUID\>'};
223
223
const call = callAgent.join(context);
224
224
```
225
225
226
-
### Azure Communication Services Teams call
226
+
#### Teams call
227
227
228
228
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.
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).
Then create a new Video Track with the correct constraints.
401
401
402
-
#### Azure Communication Services
402
+
### Azure Communication Services
403
403
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:
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.
0 commit comments