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).
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- httpdns ↔ ZegoHttpDNSType?
-
customized httpdns service. This feature is only supported for playing stream currently.
getter/setter pair
- 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).
getter/setter pair
- 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.
getter/setter pair
- 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).
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- url ↔ String
-
CDN URL
getter/setter pair
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