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
// ...continue normally with your SDK setup and usage.
50
48
```
51
49
52
50
> [!IMPORTANT]
53
51
> If you provided your TURN server details while you initialized `CallClient`, all the media traffic <i>exclusively</i> flows through these TURN servers. Any other ICE candidates that are normally generated when you create a call won't be considered while trying to establish connectivity between peers. That means only `relay` candidates are considered. To learn more about different types of Ice candidates, see [RTCIceCandidate: type property](https://developer.mozilla.org/en-US/docs/Web/API/RTCIceCandidate/type).
54
52
55
-
Currently, the Android SDK supports only <b>one IPv4 address</b> and <b>UDP</b> protocol for media proxy. Any URLs in non-ipv4 format are ignored. When multiple URLs are provided, only the last one is used by the SDK. If a UDP port isn't provided, a default UDP port 3478 is used.
53
+
Currently, the Android SDK supports only <b>one single IPv4 address</b> and <b>UDP</b> protocol for media proxy. If a UDP port isn't provided, a default UDP port 3478 is used. The SDK will throw an `Failed to set media proxy` error when calling `setIceServer` with unsupported input as follows:
54
+
* More than one ICE server is provided in the IceServers list.
55
+
* More than one url is provided in the IceServer's url list.
56
+
* IPv6 url is provided in the url list.
57
+
* Only TCP port is provided.
58
+
* Realm information is not provided.
56
59
57
-
If any of the URLs provided are invalid, the `CallClient` initialization fails and throws errors accordingly.
60
+
If the ICE server information provided is invalid, the `CallClient` initialization fails and throws errors accordingly.
58
61
59
62
### Set up a TURN server in Azure
60
63
You can create a Linux virtual machine in the Azure portal. For more information, see [Quickstart: Create a Linux virtual machine in the Azure portal](/azure/virtual-machines/linux/quick-create-portal?tabs=ubuntu). To deploy a TURN server, use [coturn](https://github.com/coturn/coturn). Coturn is a free and open-source implementation of a TURN and STUN server for VoIP and WebRTC.
// ...continue normally with your SDK setup and usage.
50
48
```
51
49
52
50
> [!IMPORTANT]
53
51
> If you provided your TURN server details while you initialized `CallClient`, all the media traffic <i>exclusively</i> flows through these TURN servers. Any other ICE candidates that are normally generated when you create a call won't be considered while trying to establish connectivity between peers. That means only `relay` candidates are considered. To learn more about different types of Ice candidates, see [RTCIceCandidate: type property](https://developer.mozilla.org/en-US/docs/Web/API/RTCIceCandidate/type).
54
52
55
-
Currently, the iOS SDK supports only <b>one IPv4 address</b> and <b>UDP</b> protocol for media proxy. Any URLs in non-ipv4 format are ignored. When multiple URLs are provided, only the last one is used by the SDK. If a UDP port isn't provided, a default UDP port 3478 is used.
53
+
Currently, the Android SDK supports only <b>one single IPv4 address</b> and <b>UDP</b> protocol for media proxy. If a UDP port isn't provided, a default UDP port 3478 is used. The SDK will throw an `Failed to set media proxy` error when calling `setIceServer` with unsupported input as follows:
54
+
* More than one ICE server is provided in the IceServers list.
55
+
* More than one url is provided in the IceServer's url list.
56
+
* IPv6 url is provided in the url list.
57
+
* Only TCP port is provided.
58
+
* Realm information is not provided.
56
59
57
-
If any of the URLs provided are invalid, the `CallClient` initialization fails and throws errors accordingly.
60
+
If the ICE server information provided is invalid, the `CallClient` initialization fails and throws errors accordingly.
58
61
59
62
### Set up a TURN server in Azure
60
63
You can create a Linux virtual machine in the Azure portal. For more information, see [Quickstart: Create a Linux virtual machine in the Azure portal](/azure/virtual-machines/linux/quick-create-portal?tabs=ubuntu). To deploy a TURN server, use [coturn](https://github.com/coturn/coturn). Coturn is a free and open-source implementation of a TURN and STUN server for VoIP and WebRTC.
// ...continue normally with your SDK setup and usage.
50
48
```
51
49
52
50
> [!IMPORTANT]
53
51
> If you provided your TURN server details while you initialized `CallClient`, all the media traffic <i>exclusively</i> flows through these TURN servers. Any other ICE candidates that are normally generated when you create a call won't be considered while trying to establish connectivity between peers. That means only `relay` candidates are considered. To learn more about different types of Ice candidates, see [RTCIceCandidate: type property](https://developer.mozilla.org/en-US/docs/Web/API/RTCIceCandidate/type).
54
52
55
-
Currently, Windows SDK supports only <b>one IPv4 address</b> and <b>UDP</b> protocol for media proxy. Any URLs in non-ipv4 format are ignored. When multiple URLs are provided, only the last one is used by the SDK. If a UDP port isn't provided, a default UDP port 3478 is used.
53
+
Currently, the Android SDK supports only <b>one single IPv4 address</b> and <b>UDP</b> protocol for media proxy. If a UDP port isn't provided, a default UDP port 3478 is used. The SDK will throw an `Failed to set media proxy` error when calling `setIceServer` with unsupported input as follows:
54
+
* More than one ICE server is provided in the IceServers list.
55
+
* More than one url is provided in the IceServer's url list.
56
+
* IPv6 url is provided in the url list.
57
+
* Only TCP port is provided.
58
+
* Realm information is not provided.
56
59
57
-
If any of the URLs provided are invalid, the `CallClient` initialization fails and throws errors accordingly.
60
+
If the ICE server information provided is invalid, the `CallClient` initialization fails and throws errors accordingly.
58
61
59
62
### Set up a TURN server in Azure
60
63
You can create a Linux virtual machine in the Azure portal. For more information, see [Quickstart: Create a Linux virtual machine in the Azure portal](/azure/virtual-machines/linux/quick-create-portal?tabs=ubuntu). To deploy a TURN server, use [coturn](https://github.com/coturn/coturn). Coturn is a free and open-source implementation of a TURN and STUN server for VoIP and WebRTC.
0 commit comments