AgoraCloudProxyType Constants Reference

Declared in AgoraEnumerates.h

AgoraCloudProxyType

The cloud proxy type.

Definition

typedef NS_ENUM(NSUInteger, AgoraCloudProxyType ) {
   AgoraNoneProxy = 0,
   AgoraUdpProxy = 1,
   AgoraTcpProxy = 2,
};

Constants

AgoraNoneProxy

0: The automatic mode. In this mode, the SDK attempts a direct connection to SD-RTN™ and automatically switches to TLS 443 if the attempt fails. As of v3.6.2, the SDK has this mode enabled by default.

Declared In AgoraEnumerates.h.

AgoraUdpProxy

1: The cloud proxy for the UDP protocol, that is, the Force UDP cloud proxy mode. In this mode, the SDK always transmits data over UDP.

Declared In AgoraEnumerates.h.

AgoraTcpProxy

2: The cloud proxy for the TCP (encryption) protocol, that is, the Force TCP cloud proxy mode. In this mode, the SDK always transmits data over TLS 443.

Available in v3.6.2

Declared In AgoraEnumerates.h.

Declared In

AgoraEnumerates.h