AliyunPlayer  v5.2.0
Aliyun Player API Reference Manual for Windows Platforms
alivc_player::_AVPCacheConfig Struct Reference

Public Member Functions

 _AVPCacheConfig ()
 
 _AVPCacheConfig (const _AVPCacheConfig &config)
 
_AVPCacheConfig operator= (const _AVPCacheConfig &config)
 
 ~_AVPCacheConfig ()
 

Public Attributes

bool enable
 Enable or disable content caching. More...
 
int maxDuration
 The maximum length of a single video that can be cached. More...
 
int maxSizeMB
 The maximum cache memory size. More...
 
char * path
 The cache directory. More...
 

Constructor & Destructor Documentation

◆ _AVPCacheConfig() [1/2]

alivc_player::_AVPCacheConfig::_AVPCacheConfig ( )
inline

◆ _AVPCacheConfig() [2/2]

alivc_player::_AVPCacheConfig::_AVPCacheConfig ( const _AVPCacheConfig config)
inline

◆ ~_AVPCacheConfig()

alivc_player::_AVPCacheConfig::~_AVPCacheConfig ( )
inline

Member Function Documentation

◆ operator=()

_AVPCacheConfig alivc_player::_AVPCacheConfig::operator= ( const _AVPCacheConfig config)
inline

Member Data Documentation

◆ enable

bool alivc_player::_AVPCacheConfig::enable

Enable or disable content caching.

Default: disabled.

◆ maxDuration

int alivc_player::_AVPCacheConfig::maxDuration

The maximum length of a single video that can be cached.

Unit: seconds. Videos that exceed the maximum length are not cached.

◆ maxSizeMB

int alivc_player::_AVPCacheConfig::maxSizeMB

The maximum cache memory size.

Unit: MB.

◆ path

char* alivc_player::_AVPCacheConfig::path

The cache directory.


The documentation for this struct was generated from the following file: