ZegoCDNConfig class

CDN config object.

Includes CDN URL and authentication parameter string

Constructors

ZegoCDNConfig(String url, {String? authParam, String? protocol, String? quicVersion, ZegoHttpDNSType? httpdns, int? quicConnectMode})

Properties

authParam ↔ String?
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).
read / write
hashCode → int
The hash code for this object.
read-onlyinherited
httpdns ZegoHttpDNSType?
customized httpdns service. This feature is only supported for playing stream currently.
read / write
protocol ↔ String?
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).
read / write
quicConnectMode ↔ int?
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.
read / write
quicVersion ↔ String?
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).
read / write
runtimeType → Type
A representation of the runtime type of the object.
read-onlyinherited
url ↔ String
CDN URL
read / write

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited