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
 是否开启缓存。默认关闭。 More...
 
int maxDuration
 单个视频缓存的最大时长,单位秒,即某个视频的时长超过maxDuration将不会被缓存 More...
 
int maxSizeMB
 所有缓存最大占用空间,单位:MB More...
 
char * path
 缓存目录 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

是否开启缓存。默认关闭。

◆ maxDuration

int alivc_player::_AVPCacheConfig::maxDuration

单个视频缓存的最大时长,单位秒,即某个视频的时长超过maxDuration将不会被缓存

◆ maxSizeMB

int alivc_player::_AVPCacheConfig::maxSizeMB

所有缓存最大占用空间,单位:MB

◆ path

char* alivc_player::_AVPCacheConfig::path

缓存目录


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