Class ZegoCDNConfig


  • public class ZegoCDNConfig
    extends java.lang.Object
    CDN config object. Includes CDN URL and authentication parameter string
    • Field Summary

      Fields 
      Modifier and Type Field Description
      java.lang.String authParam
      Auth param of URL.
      ZegoHttpDNSType httpdns
      customized httpdns service.
      java.lang.String protocol
      URL supported protocols, candidate values are "tcp" and "quic".
      int quicConnectMode
      QUIC establishes link mode.
      java.lang.String quicVersion
      QUIC version。 If [protocol] has the QUIC protocol, this information needs to be filled in.
      java.lang.String url
      CDN URL
    • Constructor Summary

      Constructors 
      Constructor Description
      ZegoCDNConfig()  
    • Method Summary

      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • url

        public java.lang.String url
        CDN URL
      • authParam

        public java.lang.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

        public java.lang.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

        public java.lang.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

        public ZegoHttpDNSType httpdns
        customized httpdns service. This feature is only supported for playing stream currently.
      • 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.
    • Constructor Detail

      • ZegoCDNConfig

        public ZegoCDNConfig()