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/includes/twilio-to-acs-video-android-tutorial.md
+16-37Lines changed: 16 additions & 37 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,21 +11,21 @@ ms.subservice: calling
11
11
ms.custom: mode-other
12
12
---
13
13
14
-
# Prerequisites
14
+
##Prerequisites
15
15
16
16
1.**Azure Account:** Make sure that your Azure account is active. New users can create a free account at [Microsoft Azure](https://azure.microsoft.com/free/).
17
-
2.**Communication Services Resource:** Set up a [Communication Services Resource](../quickstarts/create-communication-resource.md?tabs=windows&pivots=platform-azp) via your Azure portal and note your connection string.
18
-
3.**Azure CLI:** Follow the instructions at[Install Azure CLI on Windows](/cli/azure/install-azure-cli-windows?tabs=azure-cli)..
17
+
2.**Communication Services Resource:** Set up a [Communication Services Resource](../../quickstarts/create-communication-resource.md?tabs=windows&pivots=platform-azp) via your Azure portal and note your connection string.
18
+
3.**Azure CLI:** Follow the instructions to[Install Azure CLI on Windows](/cli/azure/install-azure-cli-windows?tabs=azure-cli)..
19
19
4.**User Access Token:** Generate a user access token to instantiate the call client. You can create one using the Azure CLI as follows:
20
20
```console
21
21
az communication identity token issue --scope voip --connection-string "yourConnectionString"
22
22
```
23
23
24
-
For more information, see [Use Azure CLI to Create and Manage Access Tokens](../quickstarts/identity/access-tokens.md?pivots=platform-azcli).
24
+
For more information, see [Use Azure CLI to Create and Manage Access Tokens](../../quickstarts/identity/access-tokens.md?pivots=platform-azcli).
25
25
26
26
For Video Calling as a Teams user:
27
27
28
-
- You can also use Teams identity. To generate an access token for a Teams User, see [Manage teams identity](../quickstarts/manage-teams-identity.md?pivots=programming-language-javascript).
28
+
- You can also use Teams identity. To generate an access token for a Teams User, see [Manage teams identity](../../quickstarts/manage-teams-identity.md?pivots=programming-language-javascript).
29
29
- Obtain the Teams thread ID for call operations using the [Graph Explorer](https://developer.microsoft.com/graph/graph-explorer). For information about creating a thread ID, see [Create chat - Microsoft Graph v1.0 > Example2: Create a group chat](/graph/api/chat-post?preserve-view=true&tabs=javascript&view=graph-rest-1.0#example-2-create-a-group-chat).
30
30
31
31
## Installation
@@ -116,10 +116,9 @@ val callAgent: CallAgent = CallClient().createCallAgent(
116
116
117
117
118
118
## Initiating an outgoing call
119
-
This step requires a valid access token.
120
119
121
120
### Twilio
122
-
Twilio Video Android SDK does not have a concept of Call. Twilio Video SDK uses the concept of Room.
121
+
Twilio Video Android SDK doesn't have a concept of Call. Twilio Video SDK uses the concept of Room.
123
122
In scenarios where client A wishes to establish communication with client B, client A can create a room; B needs to connect to it. Developers can emulate a call-like experience with Twilio by incorporating features such as push notifications.
124
123
In this setup, client A notifies client B about the desire to initiate communication by joining a room.
125
124
Twilio Video Android SDK doesn't support this particular concept directly.
Initiating a call with the ASCCalling SDK involves:
146
+
Initiating a call with the calling SDK involves:
148
147
149
148
1. Creating a StartCallOption object
150
149
2. Creating an Array of Communication Identifiers
@@ -191,19 +190,19 @@ val call: Call = callAgent.join(getApplicationContext(), teamsMeetingLinkLocator
191
190
## Accepting / Joining a call
192
191
193
192
### Twilio
194
-
As mentioned previously, Twilio Video Android SDK does not have a concept of Call. Twilio uses the concept of a room. Different clients can establish communication by joining the same room.
193
+
As mentioned previously, Twilio Video Android SDK doesn't have a concept of Call. Twilio uses the concept of a room. Different clients can establish communication by joining the same room.
195
194
196
195
### Azure Communication Services Calling
197
196
198
197
#### Receiving incoming call
199
198
To accept calls, the application must first be configured to receive incoming calls.
200
199
201
200
#### Register for push notifications and handle incoming push notification
202
-
An ACS client can opt-in to receive push notifications to receive incoming calls. This [guide](../../how-tos/calling-sdk/push-notifications?pivots=platform-android) describes how to set up push notifications for the Azure Communication Services Calling framework.
201
+
An ACS client can opt-in to receive push notifications to receive incoming calls. This [guide](../../how-tos/calling-sdk/push-notifications.md?pivots=platform-android) describes how to set up push notifications for the Azure Communication Services Calling framework.
203
202
204
203
#### Setting up the CallAgentListener
205
204
206
-
The Azure Communication Services Calling SDK includes an `IncomingCallListener`. An `IncomingCallListener` is set on the CallAgent instance. This listener defines an `onIncomingCall(IncomingCall incomingCall)` method which is triggered upon the arrival of an incoming call.
205
+
The Azure Communication Services Calling SDK includes an `IncomingCallListener`. An `IncomingCallListener` is set on the CallAgent instance. This listener defines an `onIncomingCall(IncomingCall incomingCall)` method, which is triggered upon the arrival of an incoming call.
207
206
208
207
**Java**
209
208
```java
@@ -251,7 +250,7 @@ incomingCall.accept(context)
251
250
252
251
|Class Name | Description |
253
252
|-----------|----------------------|
254
-
|[IncomingCallListener](java/api/com.azure.android.communication.calling.incomingcalllistener?view=communication-services-java-android)| Functional interface for incoming calls. |
253
+
|[IncomingCallListener](/java/api/com.azure.android.communication.calling.incomingcalllistener?view=communication-services-java-android)| Functional interface for incoming calls. |
255
254
|[IncomingCall](/java/api/com.azure.android.communication.calling.incomingcall?view=communication-services-java-android)| Describes an incoming call |
256
255
257
256
@@ -599,7 +598,7 @@ mediaStatsCallFeature.apply {
599
598
}
600
599
```
601
600
602
-
For more information, see the [Media quality statistics](../../concepts/voice-video-calling/media-quality-sdk?pivots=platform-android) guide.
601
+
For more information, see the [Media quality statistics](../../concepts/voice-video-calling/media-quality-sdk.md?pivots=platform-android) guide.
To learn more about User Facing Diagnostics, see the [User Facing Diagnostics](../../concepts/voice-video-calling/user-facing-diagnostics?pivots=platform-android)
700
+
To learn more about User Facing Diagnostics, see the [User Facing Diagnostics](../../concepts/voice-video-calling/user-facing-diagnostics.md?pivots=platform-android)
702
701
703
702
704
703
## Event Listeners
@@ -771,7 +770,7 @@ Twilio has a `LocalParticipant.Listener` that allows clients to receive updates
771
770
* The network quality level for the local participant changed
772
771
773
772
#### Azure Communication Services Calling
774
-
The CallAgent receives updates regarding calls through two listeners: `CallsUpdatedListener` and the `IncomingCallListener`. These listeners will be triggered respectively for the following events:
773
+
The CallAgent receives updates regarding calls through two listeners: `CallsUpdatedListener` and the `IncomingCallListener`. These listeners are triggered respectively for the following events:
775
774
776
775
* calls are updated, a new call is created, an existing call is disconnected
777
776
* an incoming call is received
@@ -780,7 +779,7 @@ The CallAgent receives updates regarding calls through two listeners: `CallsUpda
780
779
| Class Name | Description |
781
780
|-----------|----------------------|
782
781
|[PropertyChangedListener](/java/api/com.azure.android.communication.calling.propertychangedlistener?view=communication-services-java-android)| Informs the library that the call state has changed|
783
-
|[CallsUpdatedListener](/java/api/com.azure.android.communication.calling.callsupdatedlistener?view=communication-services-java-android)| Informs the library when the calls have been updated |
782
+
|[CallsUpdatedListener](/java/api/com.azure.android.communication.calling.callsupdatedlistener?view=communication-services-java-android)| Informs the library when the calls are updated |
784
783
|[IncomingCallListener](/java/api/com.azure.android.communication.calling.incomingcalllistener?view=communication-services-java-android)| Informs the library about incoming call |
785
784
|[VideoDevicesUpdatedListener](/java/api/com.azure.android.communication.calling.videodevicesupdatedlistener?view=communication-services-java-android)| Informs the library that new video devices were added or removed to the current library|
|[HangUpOptions](/java/api/com.azure.android.communication.calling.hangupoptions?view=communication-services-java-android)| Property bag class for hanging up a call |
828
827
829
828
# Cleaning Up
830
-
If you want to [clean up and remove a Communication Services subscription](../../quickstarts/create-communication-resource?tabs=windows&pivots=platform-azp#clean-up-resources), you can delete the resource or resource group.
Some features of the Azure Communication Services Calling SDK described in the list below don’t have an equivalent in the Twilio Android SDK.
845
-
### Raise Hand
846
-
[RaiseHand](../../how-tos/calling-sdk/raise-hand?pivots=platform-android) feature allows participants of a call to raise or lower hands.
847
-
### Video Background
848
-
[Adding VideoBackground](../../quickstarts/voice-video-calling/get-started-video-effects?pivots=platform-android) Allow users to blur the background in the video stream.
849
-
### Video spotlights
850
-
[Spotlights](../../how-tos/calling-sdk/spotlight?pivots=platform-android) Allow users to pin and unpin videos.
829
+
If you want to [clean up and remove a Communication Services subscription](../../quickstarts/create-communication-resource?tabs=windows&pivots=platform-azp#clean-up-resources), you can delete the resource or resource group.
Copy file name to clipboardExpand all lines: articles/communication-services/tutorials/includes/twilio-to-acs-video-ios-tutorial.md
+7-7Lines changed: 7 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,22 +14,22 @@ ms.custom: mode-other
14
14
## Prerequisites
15
15
16
16
1.**Azure Account:** Make sure that your Azure account is active. New users can create a free account at [Microsoft Azure](https://azure.microsoft.com/free/).
17
-
2.**Communication Services Resource:** Set up a [Communication Services Resource](../quickstarts/create-communication-resource.md?tabs=windows&pivots=platform-azp) via your Azure portal and note your connection string.
18
-
3.**Azure CLI:** Follow the instructions at[Install Azure CLI on Windows](/cli/azure/install-azure-cli-windows?tabs=azure-cli)..
17
+
2.**Communication Services Resource:** Set up a [Communication Services Resource](../../quickstarts/create-communication-resource.md?tabs=windows&pivots=platform-azp) via your Azure portal and note your connection string.
18
+
3.**Azure CLI:** Follow the instructions to[Install Azure CLI on Windows](/cli/azure/install-azure-cli-windows?tabs=azure-cli)..
19
19
4.**User Access Token:** Generate a user access token to instantiate the call client. You can create one using the Azure CLI as follows:
20
20
```console
21
21
az communication identity token issue --scope voip --connection-string "yourConnectionString"
22
22
```
23
23
24
-
For more information, see [Use Azure CLI to Create and Manage Access Tokens](../quickstarts/identity/access-tokens.md?pivots=platform-azcli).
24
+
For more information, see [Use Azure CLI to Create and Manage Access Tokens](../../quickstarts/identity/access-tokens.md?pivots=platform-azcli).
25
25
26
26
For Video Calling as a Teams user:
27
27
28
-
- You can also use Teams identity. To generate an access token for a Teams User, see [Manage teams identity](../quickstarts/manage-teams-identity.md?pivots=programming-language-javascript).
28
+
- You can also use Teams identity. To generate an access token for a Teams User, see [Manage teams identity](../../quickstarts/manage-teams-identity.md?pivots=programming-language-javascript).
29
29
- Obtain the Teams thread ID for call operations using the [Graph Explorer](https://developer.microsoft.com/graph/graph-explorer). For information about creating a thread ID, see [Create chat - Microsoft Graph v1.0 > Example2: Create a group chat](/graph/api/chat-post?preserve-view=true&tabs=javascript&view=graph-rest-1.0#example-2-create-a-group-chat).
30
30
31
31
## Installation
32
-
To start the migration from Twilio iOS Video SDK, the first step is to install the Azure Communication Services calling iOS SDK to your project. You can configure this in `Cocoapods`.
32
+
To start the migration from Twilio iOS Video SDK, the first step is to install the Azure Communication Services calling iOS SDK to your project. You can configure these parameters using`Cocoapods`.
33
33
34
34
1. To create a Podfile for your application, open the terminal and navigate to the project folder and run:
35
35
@@ -58,7 +58,7 @@ To be able to use the Azure Communication Services calling SDK, you need to auth
58
58
59
59
### Twilio
60
60
61
-
From witin the Twilio Video framework, the access token is used to connect to a room. By passing it to ConnectOptions and then using the connect option to create or connect a room.
61
+
From witin the Twilio Video framework, the access token is used to connect to a room. By passing the token to ConnectOptions you can create the option to create or connect a room.
62
62
63
63
```swift
64
64
let connectOptions =ConnectOptions(token: accessToken) {
When a call connects you can add the local video track to the call can be achieved by passing the local video track to the localVideo track list that can be set with ConnectOptions.
251
+
When a call connects, you can add the local video track to the call can be achieved by passing the local video track to the localVideo track list that can be set with ConnectOptions.
252
252
253
253
```swift
254
254
let connectOptions =ConnectOptions(token: accessToken) { builder in
Copy file name to clipboardExpand all lines: articles/communication-services/tutorials/includes/twilio-to-acs-video-webjs-tutorial.md
+8-8Lines changed: 8 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -15,18 +15,18 @@ ms.custom: mode-other
15
15
16
16
1.**Azure Account:** Make sure that your Azure account is active. New users can create a free account at [Microsoft Azure](https://azure.microsoft.com/free/).
17
17
2.**Node.js 18:** Ensure Node.js 18 is installed on your system. Download from [Node.js](https://nodejs.org/en).
18
-
3.**Communication Services Resource:** Set up a [Communication Services Resource](../quickstarts/create-communication-resource.md?tabs=windows&pivots=platform-azp) via your Azure portal and note your connection string.
19
-
4.**Azure CLI:** Follow the instructions at[Install Azure CLI on Windows](/cli/azure/install-azure-cli-windows?tabs=azure-cli)..
18
+
3.**Communication Services Resource:** Set up a [Communication Services Resource](../../quickstarts/create-communication-resource.md?tabs=windows&pivots=platform-azp) via your Azure portal and note your connection string.
19
+
4.**Azure CLI:** Follow the instructions to[Install Azure CLI on Windows](/cli/azure/install-azure-cli-windows?tabs=azure-cli)..
20
20
5.**User Access Token:** Generate a user access token to instantiate the call client. You can create one using the Azure CLI as follows:
21
21
```console
22
22
az communication identity token issue --scope voip --connection-string "yourConnectionString"
23
23
```
24
24
25
-
For more information, see [Use Azure CLI to Create and Manage Access Tokens](../quickstarts/identity/access-tokens.md?pivots=platform-azcli).
25
+
For more information, see [Use Azure CLI to Create and Manage Access Tokens](../../quickstarts/identity/access-tokens.md?pivots=platform-azcli).
26
26
27
27
For Video Calling as a Teams user:
28
28
29
-
- You can also use Teams identity. To generate an access token for a Teams User, see [Manage teams identity](../quickstarts/manage-teams-identity.md?pivots=programming-language-javascript).
29
+
- You can also use Teams identity. To generate an access token for a Teams User, see [Manage teams identity](../../quickstarts/manage-teams-identity.md?pivots=programming-language-javascript).
30
30
- Obtain the Teams thread ID for call operations using the [Graph Explorer](https://developer.microsoft.com/graph/graph-explorer). For information about creating a thread ID, see [Create chat - Microsoft Graph v1.0 > Example2: Create a group chat](/graph/api/chat-post?preserve-view=true&tabs=javascript&view=graph-rest-1.0#example-2-create-a-group-chat).
The `incomingCall`event includes an `incomingCall` instance that you can accept or reject.
207
207
208
-
When starting, joining, or accepting a call with*video on*, if the specified video camera device is being used by another process or ifit's disabled in the system, the call starts with *video off*, and returns a `cameraStartFailed: true` call diagnostic.
208
+
When starting, joining, or accepting a call with*video on*, if the specified video camera device is being used by another process or ifthe camera is disabled in the system, the call starts with*video off*, and returns a `cameraStartFailed: true` call diagnostic.
If the specified video device is being used by another process, or if it's disabled in the system:
389
389
390
-
- While in a call, if your video is off and you start video using `call.startVideo()`, this method returns a `SourceUnavailableError` and `cameraStartFailed` will be set to true.
390
+
- While in a call, if your video is off and you start video using `call.startVideo()`, this method returns a `SourceUnavailableError` and `cameraStartFailed`are set to true.
391
391
-A call to the `localVideoStream.switchSource()` method causes `cameraStartFailed` to be set to true. See the [Call Diagnostics guide](../../concepts/voice-video-calling/call-diagnostics.md) for more information about how to diagnose call-related issues.
392
392
393
393
To verify whether the local video is *on* or *off* you can use the `isLocalVideoStarted`API, which returns true or false:
@@ -601,7 +601,7 @@ if (backgroundBlurSupported) {
601
601
}
602
602
```
603
603
604
-
For background replacement with an image you need to provide the URL of the image you want as the background to this effect. Supported image formats are: PNG, JPG, JPEG, TIFF, and BMP. The supported aspect ratio is 16:9.
604
+
To use a custom background replacement with an image you need to provide the URL of the image you want as the background to this effect. Supported image formats are: PNG, JPG, JPEG, TIFF, and BMP. The supported aspect ratio is 16:9.
Dominant speakers for a call are an extended feature of the core Call API. It enables you to obtain a list of the active speakers in the call. This is a ranked list, where the first element in the list represents the last active speaker on the call and so on.
760
+
Dominant speakers for a call are an extended feature of the core Call API. It enables you to obtain a list of the active speakers in the call. Thhe list of dominant speakers is a ranked list, where the first element in the list represents the last active speaker on the call and so on.
761
761
762
762
In order to obtain the dominant speakers in a call, you first need to obtain the call dominant speakers feature API object:
0 commit comments