Options
All
  • Public
  • Public/Protected
  • All
Menu

CDN config object.

Includes CDN URL and authentication parameter string

Hierarchy

  • ZegoCDNConfig

Index

Constructors

Properties

Constructors

constructor

  • new ZegoCDNConfig(url: string, authParam?: undefined | string): ZegoCDNConfig
  • Parameters

    • url: string
    • Optional authParam: undefined | string

    Returns ZegoCDNConfig

Properties

Optional authParam

authParam: undefined | 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).

Optional protocol

protocol: undefined | 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).

Optional quicVersion

quicVersion: undefined | 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).

url

url: string

CDN URL

Generated using TypeDoc