![]() |
AliyunPlayer v7.10.0
Aliyun Player API Reference Manual for iOS Platforms
|
Domain processing utility class for managing HTTP DNS-related domain resolution configurations. More...
#include "AliDomainProcessor.h"
Instance Methods | |
| (void) | - addEnhancedHttpDnsDomain: |
| Adds an enhanced HTTP DNS domain. | |
| (void) | - addPreResolveDomain: |
| Starts HTTP DNS pre-resolution. | |
Class Methods | |
| (instancetype) | + shareInstance |
| Gets the singleton instance of AliDomainProcessor. | |
Domain processing utility class for managing HTTP DNS-related domain resolution configurations.
This class provides a singleton interface for adding pre-resolution domains and enhanced HTTP DNS domains.
| - (void) addEnhancedHttpDnsDomain: | (NSString *) | domain |
Adds an enhanced HTTP DNS domain.
This method adds the specified domain to the enhanced HTTP DNS resolution list.
Deprecated: This API is no longer needed; the SDK uses HTTP DNS resolution by default for Alibaba Cloud CDN domains.
| domain | The domain corresponding to the video URL, e.g., for URL https://cn.aliyun.com, the domain is cn.aliyun.com |
| - (void) addPreResolveDomain: | (NSString *) | domain |
Starts HTTP DNS pre-resolution.
This method is used to pre-resolve the specified domain to accelerate subsequent network requests.
| domain | The domain corresponding to the video URL, e.g., for URL https://cn.aliyun.com, the domain is cn.aliyun.com |
| + (instancetype) shareInstance |
Gets the singleton instance of AliDomainProcessor.