logo
On this page

ZegoCDNConfig

ZegoCDNConfig

CDN config object.

Details

Includes CDN URL and authentication parameter string

Declared in ZegoExpressDefines.h

Properties

url

url
nonatomic, copy NSString * url

CDN URL

authParam

authParam
nonatomic, copy NSString * authParam

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

protocol

protocol
nonatomic, copy NSString * 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 nil or empty string).

quicVersion

quicVersion
nonatomic, copy NSString * 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 nil or empty string).

httpdns

httpdns

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

quicConnectMode

quicConnectMode
int 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.

customParams

customParams
nonatomic, copy NSString * customParams

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

Previous

zegocanvas

Next

zegocolorenhancementparams

On this page

Back to top