public class AliPlayerGlobalSettings
extends java.lang.Object
Constructor and Description |
---|
AliPlayerGlobalSettings() |
Modifier and Type | Method and Description |
---|---|
static void |
setDNSResolve(java.lang.String host,
java.lang.String ip)
Set a DNS ip to resolve the host.
|
static void |
setIPResolveType(IPlayer.IPResolveType type)
set ip resolve type
|
public static void setDNSResolve(java.lang.String host, java.lang.String ip)
host
- The host. Need to specify the port(http defualt port is 80,https default port is 443). E.g player.alicdn.com:80ip
- The ip address, set as empty string to clear the setting.public static void setIPResolveType(IPlayer.IPResolveType type)
type
- See IPlayer.IPResolveType