Skip to main content
C++
Java
Python
Go

Cloud proxy

Agora Cloud Proxy is a feature of Agora Voice and Video SDKs. It ensures reliable audio and video connectivity for end users when they connect from restricted network environments.

The following figure illustrates how Agora Cloud Proxy works:

  1. The SDK initiates a request to Cloud Proxy.
  2. Cloud Proxy returns the corresponding proxy information.
  3. Agora SDK sends data to Cloud Proxy. Cloud Proxy receives the data and transmits it to Agora SD-RTN™.
  4. Agora SD-RTN™ returns data to Cloud Proxy. Cloud Proxy receives the data and sends it to the SDK.

Prerequisites

Before enabling Cloud Proxy, make sure that you have:

  1. Integrated the SDK and prepared the development environment.
  2. Contacted Agora support and provided the following information to request Cloud Proxy:
    • App ID
    • Cloud Proxy service usage area
    • Concurrency scale
    • Network operator and other relevant information

Implementation

To enable Force UDP or Force TCP Cloud Proxy mode, take the following steps:

  1. Test the audio and video call functionality.

Considerations

  • Agora recommends that you enable Cloud Proxy before connecting to the channel or after disconnecting from the channel.
  • Force UDP Cloud Proxy mode does not support pushing streams to the CDN or relaying streams across channels.

Server Gateway