AliyunPlayer v5.4.9.1
Aliyun Player API Reference Manual for iOS Platforms
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties
AVPConfig Class Reference

#import "AVPConfig.h"

Inheritance diagram for AVPConfig:

Properties

BOOL clearShowWhenStop
 Whether to clear the last frame when the player is stopped. More...
 
BOOL disableAudio
 Disable audio track. More...
 
BOOL disableVideo
 Disable video track. More...
 
int enableHttpDns
 whether enable http dns, -1 : as globel setting More...
 
BOOL enableLocalCache
 Enable or disable local cache. More...
 
BOOL enableSEI
 Enable or disable SEI. More...
 
int highBufferDuration
 The size of data to be cached before the player can be resumed from playback lag. More...
 
NSMutableArray * httpHeaders
 Add a custom header. More...
 
NSString * httpProxy
 HTTP proxy. More...
 
int liveStartIndex
 The start playing index of fragments, when HLS is live. More...
 
int maxBufferDuration
 The maximum size of cache data. More...
 
int maxDelayTime
 The maximum broadcasting delay. More...
 
int maxProbeSize
 The size of the probe data. More...
 
uint64_t mMAXBackwardDuration
 set the maximum backward buffer duration of the player. More...
 
int networkRetryCount
 The maximum network reconnection attempts. More...
 
int networkTimeout
 Network connection timeout time. More...
 
int pixelBufferOutputFormat
 
int positionTimerIntervalMs
 Set the frequencies of Progress. More...
 
BOOL preferAudio
 prefer audio playback; prefer audio playback when under insufficient network bandwidth. More...
 
NSString * referer
 Request Referer. More...
 
int startBufferDuration
 The size of the cache data required for starting playback. More...
 
NSString * userAgent
 UserAgent. More...
 

Property Documentation

◆ clearShowWhenStop

- (BOOL) clearShowWhenStop
readwritenonatomicassign

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

Set to YES to clear the last frame and a black view is displayed. Default: NO.

◆ disableAudio

- (BOOL) disableAudio
readwritenonatomicassign

Disable audio track.

◆ disableVideo

- (BOOL) disableVideo
readwritenonatomicassign

Disable video track.

◆ enableHttpDns

- (int) enableHttpDns
readwritenonatomicassign

whether enable http dns, -1 : as globel setting

◆ enableLocalCache

- (BOOL) enableLocalCache
readwritenonatomicassign

Enable or disable local cache.

◆ enableSEI

- (BOOL) enableSEI
readwritenonatomicassign

Enable or disable SEI.

◆ highBufferDuration

- (int) highBufferDuration
readwritenonatomicassign

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

- (NSMutableArray*) httpHeaders
readwritenonatomiccopy

Add a custom header.

◆ httpProxy

- (NSString*) httpProxy
readwritenonatomiccopy

HTTP proxy.

◆ liveStartIndex

- (int) liveStartIndex
readwritenonatomicassign

The start playing index of fragments, when HLS is live.

◆ maxBufferDuration

- (int) maxBufferDuration
readwritenonatomicassign

The maximum size of cache data.

Default: 50 seconds, Unit: millisecond.

◆ maxDelayTime

- (int) maxDelayTime
readwritenonatomicassign

The maximum broadcasting delay.

Default: 5000 milliseconds, Unit: millisecond.

◆ maxProbeSize

- (int) maxProbeSize
readwritenonatomicassign

The size of the probe data.

Default: -1. Value -1 indicates that the probe data size is not specified.

◆ mMAXBackwardDuration

- (uint64_t) mMAXBackwardDuration
readwritenonatomicassign

set the maximum backward buffer duration of the player.

◆ networkRetryCount

- (int) networkRetryCount
readwritenonatomicassign

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) networkTimeout
readwritenonatomicassign

Network connection timeout time.

Default: 15 seconds, Unit: millisecond.

◆ pixelBufferOutputFormat

- (int) pixelBufferOutputFormat
readwritenonatomicassign

◆ positionTimerIntervalMs

- (int) positionTimerIntervalMs
readwritenonatomicassign

Set the frequencies of Progress.

Includes the current position and the buffer position.

◆ preferAudio

- (BOOL) preferAudio
readwritenonatomicassign

prefer audio playback; prefer audio playback when under insufficient network bandwidth.

At present, it is only effective in dash live stream (the video has been switched to the lowest bit rate)

◆ referer

- (NSString*) referer
readwritenonatomiccopy

Request Referer.

◆ startBufferDuration

- (int) startBufferDuration
readwritenonatomicassign

The size of the cache data required for starting playback.

Default: 500 milliseconds, Unit: millisecond.

◆ userAgent

- (NSString*) userAgent
readwritenonatomiccopy

UserAgent.


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