LocalAccessPointConfiguration

Used to configure local access points.

public class LocalAccessPointConfiguration {
  public ArrayList<String> ipList = null;
  public ArrayList<String> domainList = null;
  public String verifyDomainName = null;
  public int mode = Constants.LOCAL_RPOXY_CONNECTIVITY_FIRST;
  public boolean disableAut = true;
  public AdvancedConfigInfo advancedConfig = null;
}

Properties

ipList
List of internal IP addresses for the local access point. At least one of ipList or domainList must be provided.
domainList
List of domain names for the local access point. The SDK resolves the IP addresses of the local access point based on the provided domain names, with a resolution timeout of 10 seconds. At least one of ipList or domainList must be provided. If both IP addresses and domain names are specified, the SDK merges and deduplicates the resolved and specified IP addresses, then randomly connects to one IP address to achieve load balancing.
verifyDomainName
Domain name for internal certificate verification. If this value is null, the SDK uses secure-edge.local as the default certificate verification domain name.
mode
Connection mode:
  • LOCAL_RPOXY_CONNECTIVITY_FIRST (0): The SDK first attempts to connect to the specified Agora private media server. If the connection fails, it connects to Agora SD-RTN™.
  • LOCAL_RPOXY_LOCAL_ONLY (1): The SDK connects only to the specified Agora private media server.
disableAut
Whether to disable vos-aut:
  • true: (default) Disables vos-aut.
  • false: Does not disable vos-aut.
advancedConfig
Advanced configuration for the local access point. See AdvancedConfigInfo.