QCPlayerConfig Class Reference
Inherits from | NSObject |
---|---|
Declared in | QCPlayerConfig.h |
timeout
视频播放器连接视频的超时时间,单位秒 如果超时,播放器会进入QCPlayerStateFailed 默认值,30秒
@property (nonatomic, assign) NSTimeInterval timeout
Declared In
QCPlayerConfig.h
enableAccurateSeek
seek时是否会更精确地进行定位 如果设置为YES,则每次seek都会精确到定位的位置点 如果设置为 NO。则每次seek都会定位到位置点最近的关键帧 默认值,YES
@property (nonatomic, assign) BOOL enableAccurateSeek
Declared In
QCPlayerConfig.h
maxBufferSize
视频缓冲时,会预加载的缓存大小,单位 MB 默认值,10MB
@property (nonatomic, assign) NSInteger maxBufferSize
Declared In
QCPlayerConfig.h
isAutoplay
视频缓冲完是否会自动进行播放 默认值,YES
@property (nonatomic, assign) BOOL isAutoplay
Declared In
QCPlayerConfig.h
cacheFolderPath
缓冲视频的本地存储地址
@property (nonatomic, strong) NSString *cacheFolderPath
Declared In
QCPlayerConfig.h