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/proxy-calling-support-tutorial-android.md
+72-11Lines changed: 72 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,21 +11,17 @@ ms.subservice: calling
11
11
ms.custom: mode-other
12
12
---
13
13
14
-
## Force calling traffic to be proxied across your own server for Android SDK
15
-
16
-
In certain situations, it might be useful to have all your client traffic proxied to a server that you can control. When the SDK is initializing, you can provide the details of your servers that you would like the traffic to be routed through. Once enabled, all the media traffic (audio/video/screen sharing) travel through the provided TURN servers instead of the Azure Communication Services defaults. This tutorial guides on how to have Android SDK calling traffic be proxied to servers that you control.
> The proxy feature will NOT be available for Teams Identities and Azure Communication Services Teams interop actions.
22
18
23
-
###Proxy calling media traffic
19
+
## Proxy calling media traffic
24
20
25
-
####What is a TURN server?
21
+
### What is a TURN server?
26
22
Many times, establishing a network connection between two peers isn't straightforward. A direct connection might not work because of many reasons: firewalls with strict rules, peers sitting behind a private network, or computers running in a NAT (Network Address Translation) environment. To solve these network connection issues, you can use a TURN server. The term stands for Traversal Using Relays around NAT, and it's a protocol for relaying network traffic. STUN and TURN servers are the relay servers here. [Learn more about how Azure Communication Services mitigates network challenges by utilizing STUN and TURN](../../concepts/network-traversal.md).
27
23
28
-
####Provide your TURN server details with the SDK
24
+
### Provide your TURN server details with the SDK
29
25
To provide the details of your TURN servers, you need to pass details of what TURN server to use as part of `CallClientOptions` while initializing the `CallClient`. For more information how to set up a call, see [Azure Communication Services Android SDK](../../quickstarts/voice-video-calling/get-started-with-video-calling.md?pivots=platform-android) for the Quickstart on how to setup Voice and Video.
30
26
31
27
```java
@@ -58,12 +54,12 @@ CallClient callClient = new CallClient(callClientOptions);
58
54
> [!NOTE]
59
55
> If any of the URLs provided are invalid, the `CallClient` initialization will fail and will throw errors accordingly.
60
56
61
-
####Set up a TURN server in Azure
57
+
### Set up a TURN server in Azure
62
58
You can create a Linux virtual machine in the Azure portal using this [guide](/azure/virtual-machines/linux/quick-create-portal?tabs=ubuntu) and deploy a TURN server using [coturn](https://github.com/coturn/coturn). Coturn is a free and open source implementation of a TURN and STUN server for VoIP and WebRTC.
63
59
64
60
Once you have setup a TURN server, you can test it using the WebRTC Trickle ICE page - [Trickle ICE](https://webrtc.github.io/samples/src/content/peerconnection/trickle-ice/).
65
61
66
-
###Proxy signaling traffic
62
+
## Proxy signaling traffic
67
63
68
64
To provide the URL of a proxy server, you need to pass it in as part of `CallClientOptions` through its property `Network` while initializing the `CallClient`. For more information on how to set up a call, see [Azure Communication Services Android SDK](../../quickstarts/voice-video-calling/get-started-with-video-calling.md?pivots=platform-android) for the Quickstart on how to setup Voice and Video.
69
65
@@ -77,5 +73,70 @@ CallClient callClient = new CallClient(callClientOptions);
77
73
// ...continue normally with your SDK setup and usage.
78
74
```
79
75
80
-
#### Setting up a signaling proxy server on Azure
81
-
You can create a Linux virtual machine in the Azure portal and deploy an NGINX server on it using this guide - [Quickstart: Create a Linux virtual machine in the Azure portal](/azure/virtual-machines/linux/quick-create-portal?tabs=ubuntu).
76
+
### Setting up a signaling proxy server on Azure
77
+
You can create a Linux virtual machine in the Azure portal and deploy an NGINX server on it using this guide - [Quickstart: Create a Linux virtual machine in the Azure portal](/azure/virtual-machines/linux/quick-create-portal?tabs=ubuntu).
78
+
79
+
Here's an NGINX config that you could make use of for a quick spin up:
Copy file name to clipboardExpand all lines: articles/communication-services/tutorials/includes/proxy-calling-support-tutorial-ios.md
+72-11Lines changed: 72 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,21 +11,17 @@ ms.subservice: calling
11
11
ms.custom: mode-other
12
12
---
13
13
14
-
## Force calling traffic to be proxied across your own server for iOS SDK
15
-
16
-
In certain situations, it might be useful to have all your client traffic proxied to a server that you can control. When the SDK is initializing, you can provide the details of your servers that you would like the traffic to be routed through. Once enabled, all the media traffic (audio/video/screen sharing) travel through the provided TURN servers instead of the Azure Communication Services defaults. This tutorial guides on how to have iOS SDK calling traffic be proxied to servers that you control.
> The proxy feature will NOT be available for Teams Identities and Azure Communication Services Teams interop actions.
22
18
23
-
###Proxy calling media traffic
19
+
## Proxy calling media traffic
24
20
25
-
####What is a TURN server?
21
+
### What is a TURN server?
26
22
Many times, establishing a network connection between two peers isn't straightforward. A direct connection might not work because of many reasons: firewalls with strict rules, peers sitting behind a private network, or computers running in a NAT (Network Address Translation) environment. To solve these network connection issues, you can use a TURN server. The term stands for Traversal Using Relays around NAT, and it's a protocol for relaying network traffic. STUN and TURN servers are the relay servers here. [Learn more about how Azure Communication Services mitigates network challenges by utilizing STUN and TURN](../../concepts/network-traversal.md).
27
23
28
-
####Provide your TURN server details with the SDK
24
+
### Provide your TURN server details with the SDK
29
25
To provide the details of your TURN servers, you need to pass details of what TURN server to use as part of `CallClientOptions` while initializing the `CallClient`. For more information how to set up a call, see [Azure Communication Services iOS SDK](../../quickstarts/voice-video-calling/get-started-with-video-calling.md?pivots=platform-ios) for the Quickstart on how to setup Voice and Video.
> If any of the URLs provided are invalid, the `CallClient` initialization will fail and will throw errors accordingly.
60
56
61
-
####Set up a TURN server in Azure
57
+
### Set up a TURN server in Azure
62
58
You can create a Linux virtual machine in the Azure portal using this [guide](/azure/virtual-machines/linux/quick-create-portal?tabs=ubuntu) and deploy a TURN server using [coturn](https://github.com/coturn/coturn). Coturn is a free and open source implementation of a TURN and STUN server for VoIP and WebRTC.
63
59
64
60
Once you have setup a TURN server, you can test it using the WebRTC Trickle ICE page - [Trickle ICE](https://webrtc.github.io/samples/src/content/peerconnection/trickle-ice/).
65
61
66
-
###Proxy signaling traffic
62
+
## Proxy signaling traffic
67
63
68
64
To provide the URL of a proxy server, you need to pass it in as part of `CallClientOptions` through its property `Network` while initializing the `CallClient`. For more information on how to set up a call, see [Azure Communication Services iOS SDK](../../quickstarts/voice-video-calling/get-started-with-video-calling.md?pivots=platform-ios) for the Quickstart on how to setup Voice and Video.
// ...continue normally with your SDK setup and usage.
78
74
```
79
75
80
-
#### Setting up a signaling proxy server on Azure
81
-
You can create a Linux virtual machine in the Azure portal and deploy an NGINX server on it using this guide - [Quickstart: Create a Linux virtual machine in the Azure portal](/azure/virtual-machines/linux/quick-create-portal?tabs=ubuntu).
76
+
### Setting up a signaling proxy server on Azure
77
+
You can create a Linux virtual machine in the Azure portal and deploy an NGINX server on it using this guide - [Quickstart: Create a Linux virtual machine in the Azure portal](/azure/virtual-machines/linux/quick-create-portal?tabs=ubuntu).
78
+
79
+
Here's an NGINX config that you could make use of for a quick spin up:
Copy file name to clipboardExpand all lines: articles/communication-services/tutorials/includes/proxy-calling-support-tutorial-windows.md
+72-11Lines changed: 72 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,21 +11,17 @@ ms.subservice: calling
11
11
ms.custom: mode-other
12
12
---
13
13
14
-
## Force calling traffic to be proxied across your own server for Windows SDK
15
-
16
-
In certain situations, it might be useful to have all your client traffic proxied to a server that you can control. When the SDK is initializing, you can provide the details of your servers that you would like the traffic to be routed through. Once enabled, all the media traffic (audio/video/screen sharing) travel through the provided TURN servers instead of the Azure Communication Services defaults. This tutorial guides on how to have Windows SDK calling traffic be proxied to servers that you control.
> The proxy feature will NOT be available for Teams Identities and Azure Communication Services Teams interop actions.
22
18
23
-
###Proxy calling media traffic
19
+
## Proxy calling media traffic
24
20
25
-
####What is a TURN server?
21
+
### What is a TURN server?
26
22
Many times, establishing a network connection between two peers isn't straightforward. A direct connection might not work because of many reasons: firewalls with strict rules, peers sitting behind a private network, or computers running in a NAT (Network Address Translation) environment. To solve these network connection issues, you can use a TURN server. The term stands for Traversal Using Relays around NAT, and it's a protocol for relaying network traffic. STUN and TURN servers are the relay servers here. [Learn more about how Azure Communication Services mitigates network challenges by utilizing STUN and TURN](../../concepts/network-traversal.md).
27
23
28
-
####Provide your TURN server details with the SDK
24
+
### Provide your TURN server details with the SDK
29
25
To provide the details of your TURN servers, you need to pass details of what TURN server to use as part of `CallClientOptions` while initializing the `CallClient`. For more information how to set up a call, see [Azure Communication Services Windows SDK](../../quickstarts/voice-video-calling/get-started-with-video-calling.md?pivots=platform-windows) for the Quickstart on how to setup Voice and Video.
30
26
31
27
```csharp
@@ -58,12 +54,12 @@ CallClient callClient = new CallClient(callClientOptions);
58
54
> [!NOTE]
59
55
> If any of the URLs provided are invalid, the `CallClient` initialization will fail and will throw errors accordingly.
60
56
61
-
####Set up a TURN server in Azure
57
+
### Set up a TURN server in Azure
62
58
You can create a Linux virtual machine in the Azure portal using this [guide](/azure/virtual-machines/linux/quick-create-portal?tabs=ubuntu) and deploy a TURN server using [coturn](https://github.com/coturn/coturn). Coturn is a free and open source implementation of a TURN and STUN server for VoIP and WebRTC.
63
59
64
60
Once you have setup a TURN server, you can test it using the WebRTC Trickle ICE page - [Trickle ICE](https://webrtc.github.io/samples/src/content/peerconnection/trickle-ice/).
65
61
66
-
###Proxy signaling traffic
62
+
## Proxy signaling traffic
67
63
68
64
To provide the URL of a proxy server, you need to pass it in as part of `CallClientOptions` through its property `Network` while initializing the `CallClient`. For more information on how to set up a call, see [Azure Communication Services Windows SDK](../../quickstarts/voice-video-calling/get-started-with-video-calling.md?pivots=platform-windows) for the Quickstart on how to setup Voice and Video.
69
65
@@ -77,5 +73,70 @@ CallClient callClient = new CallClient(callClientOptions);
77
73
// ...continue normally with your SDK setup and usage.
78
74
```
79
75
80
-
#### Setting up a signaling proxy server on Azure
81
-
You can create a Linux virtual machine in the Azure portal and deploy an NGINX server on it using this guide - [Quickstart: Create a Linux virtual machine in the Azure portal](/azure/virtual-machines/linux/quick-create-portal?tabs=ubuntu).
76
+
### Setting up a signaling proxy server on Azure
77
+
You can create a Linux virtual machine in the Azure portal and deploy an NGINX server on it using this guide - [Quickstart: Create a Linux virtual machine in the Azure portal](/azure/virtual-machines/linux/quick-create-portal?tabs=ubuntu).
78
+
79
+
Here's an NGINX config that you could make use of for a quick spin up:
0 commit comments