릴리스 노트
API | Description |
Set the Cache directory for the playback engine. | |
Retrieve the Cache directory of the playback engine. | |
Set the maximum cache size for the playback engine. | |
Retrieve the maximum cache size of the playback engine. | |
Judge the feature capability of the player. | |
Set flexible verification for player License. Once enabled, the first 3 playback verifications will default allow after the player's first launch. | |
Set the list of domain addresses for Tencent Cloud PlayCGI hosts. |
+ (void)setCacheFolderPath:(NSString *)cacheFolder;
Parameter Name | Type | Description |
cacheFolder | NSString | Cache directory path, nil means caching is disabled. |
+ (NSString *)cacheFolderPath;
+ (void)setMaxCacheSize:(NSInteger)maxCacheSizeMB;
Parameter Name | Type | Description |
maxCacheSizeMB | NSInteger | Maximum cache size, unit: MB. |
+ (NSInteger)maxCacheSize;
+ (id)getOptions:(NSNumber *)featureId;
+ (void)setLicenseFlexibleValid:(BOOL)value;
+ (void)setPlayCGIHosts:(NSArray<NSString *> *)hosts;
Parameter Name | Type | Description |
hosts | NSArray<NSString *> | List of domain addresses, domain name format: playvideo.qcloud.com. Trigger a PlayCGI request and sequentially use the passed-in host addresses. If a request to a certain host fails, automatically switch to the next host and retry the request. |
피드백