logo
On this page

ZegoCDNConfig

ZegoCDNConfig

CDN config object.

Details

Includes CDN URL and authentication parameter string

Declared in entity/ZegoCDNConfig.java

Properties

url

url
public String url

CDN URL

authParam

authParam
public String 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).

protocol

protocol
public String 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).

quicVersion

quicVersion
public String 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).

httpdns

httpdns
public ZegoHttpDNSType httpdns

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

quicConnectMode

quicConnectMode
public 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
public String customParams

custom 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).

Previous

zegocanvas

Next

zegocolorenhancementparams

On this page

Back to top