AgoraProxyType Constants Reference

Declared in AgoraEnumerates.h
Availability v3.6.2

AgoraProxyType

The proxy type.

Definition

typedef NS_ENUM(NSUInteger, AgoraProxyType ) {
   AgoraNoneProxyType = 0,
   AgoraUdpProxyType = 1,
   AgoraTcpProxyType = 2,
   AgoraLocalProxyType = 3,
   AgoraTcpProxyAutoFallbackType = 4,
};

Constants

AgoraNoneProxyType

0: Reserved for future use.

Declared In AgoraEnumerates.h.

AgoraUdpProxyType

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.

AgoraTcpProxyType

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.

Declared In AgoraEnumerates.h.

AgoraLocalProxyType

3: Reserved for future use.

Declared In AgoraEnumerates.h.

AgoraTcpProxyAutoFallbackType

4: 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.

Declared In AgoraEnumerates.h.

Availability

v3.6.2

Declared In

AgoraEnumerates.h