Skip to content

Commit

Permalink
update lib to 2.2.2-git-2016-07-19-c48b097.
Browse files Browse the repository at this point in the history
  • Loading branch information
betallcoffee committed Jul 19, 2016
1 parent d59b14b commit f27c876
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 9 deletions.
17 changes: 16 additions & 1 deletion Pod/Library/include/PLPlayerKit/PLPlayer.h
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,13 @@ typedef NS_ENUM(NSInteger, PLPlayerStatus) {
@since v1.0.0
*/
PLPlayerStatusError
PLPlayerStatusError,

/**
* PLPlayer 自动重连的状态
*/
PLPlayerStateAutoReconnecting

};

@class PLPlayer;
Expand Down Expand Up @@ -215,6 +221,14 @@ typedef NS_ENUM(NSInteger, PLPlayerStatus) {
*/
@property (nonatomic, assign, readonly) CMTime totalDuration;

/**
* 是否开启重连,默认为 NO
*
* @since v2.2.2
*/
@property (nonatomic,assign,getter = isAutoReconnectEnable) BOOL autoReconnectEnable;


/**
使用 url 和 option 生成一个 PLPlayer 对象
Expand All @@ -239,6 +253,7 @@ typedef NS_ENUM(NSInteger, PLPlayerStatus) {
*/
- (nullable instancetype)initWithURL:(nullable NSURL *)URL option:(nullable PLPlayerOption *)option;


/**
开始播放
Expand Down
Binary file modified Pod/Library/lib/libPLPlayerKit.a
Binary file not shown.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -144,11 +144,11 @@ self.player.delegate = self;
- 新增 SDK 自动重连功能,默认不开启
- 缺陷
- 修复长时间播放偶发解码 crash
- 修复 pause/resmue 调用导致 crash
- 修复 pause/resmue 快速调用导致 crash
- 修复重连未更换服务器 IP
- 修复 rtmp 硬解播放视频抖动
- 修复 flv 开始播放偶发黑屏
- 修复 flv 超时机制失效
- 修复 rtmp 硬解播放视频抖动
- 修复 flv 开始播放偶发黑屏
- 修复 flv 超时机制失效
- 2.2.1 ([Release Notes](https://github.com/pili-engineering/PLPlayerKit/blob/master/ReleaseNotes/release-notes-2.2.1.md) && [API Diffs](https://github.com/pili-engineering/PLPlayerKit/blob/master/APIDiffs/api-diffs-2.2.1.md))
- 功能
- 支持 SDK 日志级别设置
Expand Down
8 changes: 4 additions & 4 deletions ReleaseNotes/release-notes-2.2.2.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ PLPlayerKit 为 iOS 开发者提供直播播放 SDK。
- 新增 SDK 自动重连功能,默认不开启
- 缺陷
- 修复长时间播放偶发解码 crash
- 修复 pause/resmue 调用导致 crash
- 修复 pause/resmue 快速调用导致 crash
- 修复重连未更换服务器 IP
- 修复 rtmp 硬解播放视频抖动
- 修复 flv 开始播放偶发黑屏
- 修复 flv 超时机制失效
- 修复 rtmp 硬解播放视频抖动
- 修复 flv 开始播放偶发黑屏
- 修复 flv 超时机制失效

0 comments on commit f27c876

Please sign in to comment.