AliyunPlayer v5.4.9.0
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
 调用stop停止后是否显示最后一帧图像,YES代表清除显示,黑屏,默认为NO More...
 
BOOL disableAudio
 禁用Audio. More...
 
BOOL disableVideo
 禁用Video More...
 
int enableHttpDns
 播放器实例是否可以使用http dns进行解析,-1 表示跟随全局设置,0 disable More...
 
BOOL enableLocalCache
 是否开启本地缓存 More...
 
BOOL enableSEI
 是否启用SEI More...
 
int highBufferDuration
 卡顿后缓存数据的高水位,当播放器缓存数据大于此值时开始播放,单位毫秒 More...
 
NSMutableArray * httpHeaders
 添加自定义header More...
 
NSString * httpProxy
 httpProxy代理 More...
 
int liveStartIndex
 HLS直播时,起播分片位置。 More...
 
int maxBufferDuration
 播放器最大的缓存数据长度,默认50秒,单位毫秒 More...
 
int maxDelayTime
 直播最大延迟 默认5000毫秒,单位毫秒 More...
 
int maxProbeSize
 probe数据大小,默认-1,表示不设置 More...
 
uint64_t mMAXBackwardDuration
 设置播放器后向buffer的最大值. More...
 
int networkRetryCount
 网络重试次数,每次间隔networkTimeout,networkRetryCount=0则表示不重试,重试策略app决定,默认值为2 More...
 
int networkTimeout
 网络超时时间,默认15秒,单位毫秒 More...
 
int pixelBufferOutputFormat
 
int positionTimerIntervalMs
 进度跟新的频率。包括当前位置和缓冲位置。 More...
 
BOOL preferAudio
 优先保证音频播放;在网络带宽不足的情况下,优先保障音频的播放,目前只在dash直播流中有效(视频已经切换到了最低码率) More...
 
NSString * referer
 请求referer More...
 
int startBufferDuration
 开始起播缓存区数据长度,默认500ms,单位毫秒 More...
 
NSString * userAgent
 user Agent More...
 

Property Documentation

◆ clearShowWhenStop

- (BOOL) clearShowWhenStop
readwritenonatomicassign

调用stop停止后是否显示最后一帧图像,YES代表清除显示,黑屏,默认为NO

◆ disableAudio

- (BOOL) disableAudio
readwritenonatomicassign

禁用Audio.

◆ disableVideo

- (BOOL) disableVideo
readwritenonatomicassign

禁用Video

◆ enableHttpDns

- (int) enableHttpDns
readwritenonatomicassign

播放器实例是否可以使用http dns进行解析,-1 表示跟随全局设置,0 disable

◆ enableLocalCache

- (BOOL) enableLocalCache
readwritenonatomicassign

是否开启本地缓存

◆ enableSEI

- (BOOL) enableSEI
readwritenonatomicassign

是否启用SEI

◆ highBufferDuration

- (int) highBufferDuration
readwritenonatomicassign

卡顿后缓存数据的高水位,当播放器缓存数据大于此值时开始播放,单位毫秒

◆ httpHeaders

- (NSMutableArray*) httpHeaders
readwritenonatomiccopy

添加自定义header

◆ httpProxy

- (NSString*) httpProxy
readwritenonatomiccopy

httpProxy代理

◆ liveStartIndex

- (int) liveStartIndex
readwritenonatomicassign

HLS直播时,起播分片位置。

◆ maxBufferDuration

- (int) maxBufferDuration
readwritenonatomicassign

播放器最大的缓存数据长度,默认50秒,单位毫秒

◆ maxDelayTime

- (int) maxDelayTime
readwritenonatomicassign

直播最大延迟 默认5000毫秒,单位毫秒

◆ maxProbeSize

- (int) maxProbeSize
readwritenonatomicassign

probe数据大小,默认-1,表示不设置

◆ mMAXBackwardDuration

- (uint64_t) mMAXBackwardDuration
readwritenonatomicassign

设置播放器后向buffer的最大值.

◆ networkRetryCount

- (int) networkRetryCount
readwritenonatomicassign

网络重试次数,每次间隔networkTimeout,networkRetryCount=0则表示不重试,重试策略app决定,默认值为2

◆ networkTimeout

- (int) networkTimeout
readwritenonatomicassign

网络超时时间,默认15秒,单位毫秒

◆ pixelBufferOutputFormat

- (int) pixelBufferOutputFormat
readwritenonatomicassign

◆ positionTimerIntervalMs

- (int) positionTimerIntervalMs
readwritenonatomicassign

进度跟新的频率。包括当前位置和缓冲位置。

◆ preferAudio

- (BOOL) preferAudio
readwritenonatomicassign

优先保证音频播放;在网络带宽不足的情况下,优先保障音频的播放,目前只在dash直播流中有效(视频已经切换到了最低码率)

◆ referer

- (NSString*) referer
readwritenonatomiccopy

请求referer

◆ startBufferDuration

- (int) startBufferDuration
readwritenonatomicassign

开始起播缓存区数据长度,默认500ms,单位毫秒

◆ userAgent

- (NSString*) userAgent
readwritenonatomiccopy

user Agent


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