Skip to content

Commit 7b54191

Browse files
author
0dayZh
committed
Update to v2.0.4
1 parent b4d8676 commit 7b54191

File tree

10 files changed

+41
-15
lines changed

10 files changed

+41
-15
lines changed

APIDiffs/api-diffs-2.0.4.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# PLPlayerKit 2.0.3 to 2.0.4 API Differences
2+
3+
## General Headers
4+
5+
None

Example/Podfile.lock

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
PODS:
2-
- PLPlayerKit (2.0.3):
3-
- PLPlayerKit/precompiled (= 2.0.3)
4-
- PLPlayerKit/precompiled (2.0.3)
2+
- PLPlayerKit (2.0.4):
3+
- PLPlayerKit/precompiled (= 2.0.4)
4+
- PLPlayerKit/precompiled (2.0.4)
55

66
DEPENDENCIES:
77
- PLPlayerKit (from `../`)
@@ -11,6 +11,6 @@ EXTERNAL SOURCES:
1111
:path: ../
1212

1313
SPEC CHECKSUMS:
14-
PLPlayerKit: f1cfceb5999cfcd8d79969d254c7588a14bd463c
14+
PLPlayerKit: 5090e619bd0560469991bc0d6615bc39c4f63784
1515

1616
COCOAPODS: 0.39.0

Example/Pods/Local Podspecs/PLPlayerKit.podspec.json

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Example/Pods/Manifest.lock

+4-4
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

PLPlayerKit.podspec

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
Pod::Spec.new do |s|
1111
s.name = "PLPlayerKit"
12-
s.version = "2.0.3"
12+
s.version = "2.0.4"
1313
s.summary = "Pili iOS video player SDK, RTMP, HLS video streaming supported."
1414
s.homepage = "https://github.com/pili-engineering/PLPlayerKit"
1515
s.license = 'Apache License, Version 2.0'

Pod/Library/lib/libPLPlayerKit.a

0 Bytes
Binary file not shown.

Pod/Library/lib/libcommon.a

0 Bytes
Binary file not shown.

Pod/Library/lib/libdecoder.a

0 Bytes
Binary file not shown.

README.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,6 @@ PLPlayerKit 是一个适用于 iOS 的音视频播放器 SDK,可高度定制
1616
- [配置工程](#配置工程)
1717
- [示例代码](#示例代码)
1818
- [关于 2.0 版本](#关于2.0版本)
19-
- [音频部分的特别说明](#音频部分的特别说明)
20-
- [已知 issues](#已知issues)
2119
- [版本历史](#版本历史)
2220

2321
## 快速开始
@@ -85,7 +83,7 @@ __weak typeof(self) wself = self;
8583

8684
播放器状态获取
8785

88-
```Objective-C
86+
```
8987
// 实现 <PLPlayerDelegate> 来控制流状态的变更
9088
- (void)player:(nonnull PLPlayer *)player statusDidChange:(PLPlayerStatus)state {
9189
// 这里会返回流的各种状态,你可以根据状态做 UI 定制及各类其他业务操作
@@ -103,7 +101,7 @@ __weak typeof(self) wself = self;
103101

104102
为了应对这一情况,PLPlayerKit 采取的方式是检查是否可以播放及是否可以进入后台,而在内部不做任何设置。具体是通过扩展 `AVAudioSession` 来做到的,提供了两个方法,如下:
105103

106-
```Objective-C
104+
```
107105
/*!
108106
* @description 检查当前 AVAudioSession 的 category 配置是否可以播放音频. 当为 AVAudioSessionCategoryAmbient,
109107
* AVAudioSessionCategorySoloAmbient, AVAudioSessionCategoryPlayback, AVAudioSessionCategoryPlayAndRecord
@@ -128,6 +126,8 @@ __weak typeof(self) wself = self;
128126

129127
## 版本历史
130128

129+
- 2.0.4 ([Release Notes](https://github.com/pili-engineering/PLPlayerKit/blob/master/ReleaseNotes/release-notes-2.0.4.md) && [API Diffs](https://github.com/pili-engineering/PLPlayerKit/blob/master/APIDiffs/api-diffs-2.0.4.md))
130+
- 解决 RTMP 播放时可能黑屏的问题
131131
- 2.0.3 ([Release Notes](https://github.com/pili-engineering/PLPlayerKit/blob/master/ReleaseNotes/release-notes-2.0.3.md) && [API Diffs](https://github.com/pili-engineering/PLPlayerKit/blob/master/APIDiffs/api-diffs-2.0.3.md))
132132
- 解决 RTMP 播放没有声音
133133
- 解决 RTMP 无法播放导致内存急增最终 App crash

ReleaseNotes/release-notes-2.0.4.md

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# PLPlayerKit Release Notes for 2.0.4
2+
3+
## 内容
4+
5+
- [简介](#简介)
6+
- [问题反馈](#问题反馈)
7+
- [记录](#记录)
8+
9+
## 简介
10+
11+
PLPlayerKit 为 iOS 开发者提供直播播放 SDK。
12+
13+
## 问题反馈
14+
15+
当你遇到任何问题时,可以通过在 GitHub 的 repo 提交 ```issues``` 来反馈问题,请尽可能的描述清楚遇到的问题,如果有错误信息也一同附带,并且在 ```Labels``` 中指明类型为 bug 或者其他。
16+
17+
[通过这里查看已有的 issues 和提交 Bug](https://github.com/pili-engineering/PLPlayerKit/issues)
18+
19+
## Bug
20+
21+
- 解决 RTMP 播放时可能黑屏的问题

0 commit comments

Comments
 (0)