Skip to content

Commit 8c1a4e7

Browse files
authored
Update proxy-calling-support-tutorial.md
1 parent 33d4d35 commit 8c1a4e7

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

articles/communication-services/tutorials/proxy-calling-support-tutorial.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,13 @@ In certain situations, it might be useful to have all your client traffic proxie
2020
> The proxy feature is available starting in the public preview version [1.13.0-beta.4](https://www.npmjs.com/package/@azure/communication-calling/v/1.13.0-beta.4) of the Calling SDK. Please ensure that you use this or a newer SDK when trying to use this feature. This Quickstart uses the Azure Communication Services Calling SDK version greater than `1.13.0`.
2121
2222
[!INCLUDE [Public Preview](../includes/public-preview-include-document.md)]
23-
# Proxy calling media traffic
23+
## Proxy calling media traffic
2424

2525
## What is a TURN server?
2626
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 are running in a NAT 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 ACS [mitigates](../concepts/network-traversal.md) network challenges by utilizing STUN and TURN.
2727

28-
## Provide your TURN servers details to the SDK
29-
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 details how to setup a call see [Azure Communication Services Web SDK](../quickstarts/voice-video-calling/get-started-with-video-calling.md?pivots=platform-web)) for the Quickstart on how to setup Voice and Video.
28+
### Provide your TURN servers details to the SDK
29+
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 setup a call, see [Azure Communication Services Web SDK](../quickstarts/voice-video-calling/get-started-with-video-calling.md?pivots=platform-web)) for the Quickstart on how to setup Voice and Video.
3030

3131
```js
3232
import { CallClient } from '@azure/communication-calling';
@@ -78,12 +78,12 @@ const callClient = new CallClient({
7878
7979
The API reference for the `CallClientOptions` object, and the `networkConfiguration` property within it can be found here - [CallClientOptions](/javascript/api/azure-communication-services/@azure/communication-calling/callclientoptions?view=azure-communication-services-js&preserve-view=true).
8080

81-
## Set up a TURN server in Azure
81+
### Set up a TURN server in Azure
8282
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), a free and open source implementation of a TURN and STUN server for VoIP and WebRTC.
8383

8484
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/).
8585

86-
# Proxy signaling traffic
86+
## Proxy signaling traffic
8787

8888
To provide the URL of a proxy server, you need to pass it in as part of `CallClientOptions` while initializing the `CallClient`. For more details how to setup a call see [Azure Communication Services Web SDK](../quickstarts/voice-video-calling/get-started-with-video-calling.md?pivots=platform-web)) for the Quickstart on how to setup Voice and Video.
8989

@@ -107,9 +107,9 @@ const callClient = new CallClient({
107107
108108
The API reference for the `CallClientOptions` object, and the `networkConfiguration` property within it can be found here - [CallClientOptions](/javascript/api/azure-communication-services/@azure/communication-calling/callclientoptions?view=azure-communication-services-js&preserve-view=true).
109109

110-
## Setting up a proxy middleware in express js
110+
### Setting up a proxy middleware in express js
111111
You can also create a proxy middleware in your express js server setup to have all the URLs redirected through it, using the [http-proxy-middleware](https://www.npmjs.com/package/http-proxy-middleware) npm package.
112-
The `createProxyMiddleware` function from that package should cover your what you need for a simple re-direct proxy setup. Here's an example usage of it with some option settings that the SDK will need to have all of our URLs working expected:
112+
The `createProxyMiddleware` function from that package should cover your what you need for a simple redirect proxy setup. Here's an example usage of it with some option settings that the SDK wneed to have all of our URLs working expected:
113113

114114
```js
115115
const proxyRouter = (req) => {

0 commit comments

Comments
 (0)