TXVodPlayConfig Class Reference
Inherits from | NSObject |
---|---|
Declared in | TXVodPlayConfig.h |
connectRetryCount
播放器连接重试次数 : 最小值为 1, 最大值为 10, 默认值为 3
@property (nonatomic, assign) int connectRetryCount
Declared In
TXVodPlayConfig.h
connectRetryInterval
播放器连接重试间隔 : 单位秒,最小值为 3, 最大值为 30, 默认值为 3
@property (nonatomic, assign) int connectRetryInterval
Declared In
TXVodPlayConfig.h
playerPixelFormatType
视频渲染对象回调的视频格式. 支持kCVPixelFormatType_32BGRA、kCVPixelFormatType_420YpCbCr8BiPlanarFullRange、kCVPixelFormatType_420YpCbCr8BiPlanarVideoRange
@property (nonatomic, assign) OSType playerPixelFormatType
Declared In
TXVodPlayConfig.h
cacheFolderPath
注意:缓存目录应该是单独的目录,SDK可能会清掉其中的文件
@property NSString *cacheFolderPath
Declared In
TXVodPlayConfig.h
autoRotate
是否精确seek,默认YES. 开启精确后seek,seek的时间平均多出200ms
@property BOOL autoRotate
Declared In
TXVodPlayConfig.h
smoothSwitchBitrate
平滑切换码率。默认NO 设为NO时,切换清晰度会有少许停顿,但文件打开速度会加快。设为YES,当IDR对齐时,平滑切换清晰度。
@property BOOL smoothSwitchBitrate
Declared In
TXVodPlayConfig.h
progressInterval
设置进度回调间隔时间 若不设置,SDK默认间隔0.5秒回调一次
@property NSTimeInterval progressInterval
Declared In
TXVodPlayConfig.h