ZegoCDNConfig Class Reference

Inherits from NSObject
Declared in ZegoExpressDefines.h

Overview

Includes CDN URL and authentication parameter string

  url

CDN URL

@property (nonatomic, copy) NSString *url

Declared In

ZegoExpressDefines.h

  authParam

Auth param of URL. Please contact ZEGO technical support if you need to use it, otherwise this parameter can be ignored (set to null or empty string).

@property (nonatomic, copy) NSString *authParam

Declared In

ZegoExpressDefines.h

  protocol

URL supported protocols, candidate values are “tcp” and “quic”. If there are more than one, separate them with English commas and try them in order. Please contact ZEGO technical support if you need to use it, otherwise this parameter can be ignored (set to null or empty string).

@property (nonatomic, copy) NSString *protocol

Declared In

ZegoExpressDefines.h

  quicVersion

QUIC version。 If [protocol] has the QUIC protocol, this information needs to be filled in. If there are multiple version numbers, separate them with commas. Please contact ZEGO technical support if you need to use it, otherwise this parameter can be ignored (set to null or empty string).

@property (nonatomic, copy) NSString *quicVersion

Declared In

ZegoExpressDefines.h

  httpdns

customized httpdns service. This feature is only supported for playing stream currently.

@property ZegoHttpDNSType httpdns

Declared In

ZegoExpressDefines.h

  quicConnectMode

QUIC establishes link mode. If the value is 1, quic 0 rtt is used preferentially to establish link. Otherwise, the link is established normally. If [protocol] has the QUIC protocol, this value takes effect.

@property int quicConnectMode

Declared In

ZegoExpressDefines.h