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/quickstarts/voice-video-calling/includes/data-channel/data-channel-android.md
+10-2Lines changed: 10 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,12 +5,11 @@ titleSuffix: An Azure Communication Services document
5
5
description: In this quickstart, you learn how to add data channel messaging to your existing Android calling app using Azure Communication Services.
> Please be aware that the current Data Channel feature API doesn't support direct messaging between a web browser and a native app in a peer-to-peer call scenario.
@@ -31,6 +30,15 @@ Refer to the [Voice Calling Quickstart](../../getting-started-with-calling.md?pi
31
30
| - | - |
32
31
| DataChannelPriority | Describes the priority options of data channel. Values: { `NORMAL`, `HIGH` }. |
33
32
| DataChannelReliability | Describes the reliability options of data channel. Values: { `LOSSY`, `DURABLE` }. |
33
+
### Error Code
34
+
| Name | Description |
35
+
| - | - |
36
+
|_DATA_CHANNEL_FAILED_TO_START_|`getDataChannelSender()` can fail with this error code, indicating underlying Data Channel is not ready to be used. |
37
+
|_DATA_CHANNEL_RANDOM_ID_NOT_AVAILABLE_|`getDataChannelSender()` can fail with this error code, indicating all available random channel ids have already been used. |
38
+
|_DATA_CHANNEL_SENDER_CLOSED_|`sendMessage()` can fail with this error code, indicating the sender has already been closed previously. |
39
+
|_DATA_CHANNEL_MESSAGE_SIZE_OVER_LIMIT_|`sendMessage()` can fail with this error code, indicating the message data size exceeds the limit. You can get the message size limit using `getMaxMessageSizeInBytes()` in `DataChannelSender`. |
40
+
|_DATA_CHANNEL_MESSAGE_FAILURE_FOR_BANDWIDTH_|`sendMessage()` can fail with this error code, indicating a failure in sending the message due to not enough bandwidth. |
41
+
|_DATA_CHANNEL_MESSAGE_FAILURE_FOR_TRAFFIC_LIMIT_|`sendMessage()` can fail with this error code, indicating a failure in sending the message due to the overall usage of Data Channel not in compliance with the traffic limit rules. Refer to [Data Channel Concept Document](../../../../concepts/voice-video-calling/data-channel.md) for details of the traffic limit. |
Copy file name to clipboardExpand all lines: articles/communication-services/quickstarts/voice-video-calling/includes/data-channel/data-channel-ios.md
+10-1Lines changed: 10 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,7 +5,7 @@ titleSuffix: An Azure Communication Services document
5
5
description: In this quickstart, you learn how to add data channel messaging to your existing iOS calling app using Azure Communication Services.
6
6
author: sloanster
7
7
services: azure-communication-services
8
-
ms.date: 05/04/2023
8
+
ms.date: 03/01/2024
9
9
ms.topic: include
10
10
ms.service: azure-communication-services
11
11
ms.subservice: calling
@@ -31,6 +31,15 @@ Refer to the [Voice Calling Quickstart](../../getting-started-with-calling.md?pi
31
31
| - | - |
32
32
| DataChannelPriority | Describes the priority options of data channel. Values: { `normal`, `high` }. |
33
33
| DataChannelReliability | Describes the reliability options of data channel. Values: { `lossy`, `durable` }. |
34
+
### Error Code
35
+
| Name | Description |
36
+
| - | - |
37
+
|_dataChannelFailedToStart_|`getDataChannelSender()` can fail with this error code, indicating underlying Data Channel is not ready to be used. |
38
+
|_dataChannelRandomIdNotAvailable_|`getDataChannelSender()` can fail with this error code, indicating all available random channel ids have already been used. |
39
+
|_dataChannelSenderClosed_|`sendMessage()` can fail with this error code, indicating the sender has already been closed previously. |
40
+
|_dataChannelMessageSizeOverLimit_|`sendMessage()` can fail with this error code, indicating the message data size exceeds the limit. You can get the message size limit using `maxMessageSizeInBytes` in `DataChannelSender`. |
41
+
|_dataChannelMessageFailureForBandwidth_|`sendMessage()` can fail with this error code, indicating a failure in sending the message due to not enough bandwidth. |
42
+
|_dataChannelMessageFailureForTrafficLimit_|`sendMessage()` can fail with this error code, indicating a failure in sending the message due to the overall usage of Data Channel not in compliance with the traffic limit rules. Refer to [Data Channel Concept Document](../../../../concepts/voice-video-calling/data-channel.md) for details of the traffic limit. |
Copy file name to clipboardExpand all lines: articles/communication-services/quickstarts/voice-video-calling/includes/data-channel/data-channel-windows.md
+10-1Lines changed: 10 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,7 +5,7 @@ titleSuffix: An Azure Communication Services document
5
5
description: In this quickstart, you learn how to add data channel messaging to your existing Windows calling app using Azure Communication Services.
6
6
author: sloanster
7
7
services: azure-communication-services
8
-
ms.date: 05/04/2023
8
+
ms.date: 03/01/2024
9
9
ms.topic: include
10
10
ms.service: azure-communication-services
11
11
ms.subservice: calling
@@ -31,6 +31,15 @@ Refer to the [Voice Calling Quickstart](../../getting-started-with-calling.md?pi
31
31
| - | - |
32
32
| DataChannelPriority | Describes the priority options of data channel. Values: { `Normal`, `High` }. |
33
33
| DataChannelReliability | Describes the reliability options of data channel. Values: { `Lossy`, `Durable` }. |
34
+
### Error Code
35
+
| Name | Description |
36
+
| - | - |
37
+
|_DataChannelFailedToStart_|`GetDataChannelSender()` can fail with this error code, indicating underlying Data Channel is not ready to be used. |
38
+
|_DataChannelRandomIdNotAvailable_|`GetDataChannelSender()` can fail with this error code, indicating all available random channel ids have already been used. |
39
+
|_DataChannelSenderClosed_|`SendMessage()` can fail with this error code, indicating the sender has already been closed previously. |
40
+
|_DataChannelMessageSizeOverLimit_|`SendMessage()` can fail with this error code, indicating the message data size exceeds the limit. You can get the message size limit using `MaxMessageSizeInBytes` in `DataChannelSender`. |
41
+
|_DataChannelMessageFailureForBandwidth_|`SendMessage()` can fail with this error code, indicating a failure in sending the message due to not enough bandwidth. |
42
+
|_DataChannelMessageFailureForTrafficLimit_|`SendMessage()` can fail with this error code, indicating a failure in sending the message due to the overall usage of Data Channel not in compliance with the traffic limit rules. Refer to [Data Channel Concept Document](../../../../concepts/voice-video-calling/data-channel.md) for details of the traffic limit. |
0 commit comments