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

Public Member Functions

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

Public Attributes

int headerCount
 
int highBufferDuration
 The size of data to be cached before the player can be resumed from playback lag. More...
 
char ** httpHeaders
 Add a custom header. More...
 
char * httpProxy
 HTTP proxy. More...
 
int maxBufferDuration
 The maximum size of cache data. More...
 
int maxDelayTime
 The maximum broadcasting delay. More...
 
int networkRetryCount
 The maximum network reconnection attempts. More...
 
int networkTimeout
 Network connection timeout time. More...
 
char * referer
 Request Referer. More...
 
bool showLastFrameWhenStop
 Whether to show the last frame when the player is stopped. More...
 
int startBufferDuration
 The size of the cache data required for starting playback. More...
 
char * userAgent
 UserAgent. More...
 

Constructor & Destructor Documentation

◆ _AVPConfig() [1/2]

alivc_player::_AVPConfig::_AVPConfig ( )
inline

◆ _AVPConfig() [2/2]

alivc_player::_AVPConfig::_AVPConfig ( const _AVPConfig config)
inline

◆ ~_AVPConfig()

alivc_player::_AVPConfig::~_AVPConfig ( )
inline

Member Function Documentation

◆ operator=()

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

Member Data Documentation

◆ headerCount

int alivc_player::_AVPConfig::headerCount

◆ highBufferDuration

int alivc_player::_AVPConfig::highBufferDuration

The size of data to be cached before the player can be resumed from playback lag.

When the size of the data cached by the player reaches this value, the playback is resumed, Unit: millisecond.

◆ httpHeaders

char** alivc_player::_AVPConfig::httpHeaders

Add a custom header.

◆ httpProxy

char* alivc_player::_AVPConfig::httpProxy

HTTP proxy.

◆ maxBufferDuration

int alivc_player::_AVPConfig::maxBufferDuration

The maximum size of cache data.

Default: 50 seconds, Unit: millisecond.

◆ maxDelayTime

int alivc_player::_AVPConfig::maxDelayTime

The maximum broadcasting delay.

Default: 5000 milliseconds, Unit: millisecond.

◆ networkRetryCount

int alivc_player::_AVPConfig::networkRetryCount

The maximum network reconnection attempts.

Default: 2. networkTimeout specifies the reconnection interval. networkRetryCount=0 indicates that automatic network reconnection is disabled. The reconnection policy varies depending on the app.

◆ networkTimeout

int alivc_player::_AVPConfig::networkTimeout

Network connection timeout time.

Default: 15 seconds, Unit: millisecond.

◆ referer

char* alivc_player::_AVPConfig::referer

Request Referer.

◆ showLastFrameWhenStop

bool alivc_player::_AVPConfig::showLastFrameWhenStop

Whether to show the last frame when the player is stopped.

Set to true to show the last frame ,if false, a black view is displayed.

◆ startBufferDuration

int alivc_player::_AVPConfig::startBufferDuration

The size of the cache data required for starting playback.

Default: 500 milliseconds, Unit: millisecond.

◆ userAgent

char* alivc_player::_AVPConfig::userAgent

UserAgent.


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