Skip to content

Commit

Permalink
Merge pull request #19 from Mengwangchao/dep-cocos-1.3.1
Browse files Browse the repository at this point in the history
[QPlayer2] 1.3.1 版本发布
  • Loading branch information
AstaTus authored Sep 7, 2023
2 parents 97df567 + 7a7fcc1 commit dbb55aa
Show file tree
Hide file tree
Showing 154 changed files with 6,712 additions and 600 deletions.
10 changes: 8 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Qplayer2是一款跨平台的播放器SDK,除了基础的播放器能力外,
Platform | Build Status
-------- | ------------
Android | https://github.com/pili-engineering/QPlayer2-Android
IOS | Last Version: 1.2.4
IOS | Last Version: 1.3.1
Windows | 敬请期待
Mac | 敬请期待
### qplayer2-core 功能列表
Expand All @@ -33,6 +33,8 @@ Qplayer2是一款跨平台的播放器SDK,除了基础的播放器能力外,
| 预加载 | 提前加载点播视频,获得更好的首帧体验 | |
| 截图 | 自动转换成jpeg格式,可以展示在UI上,也可存放到相册 | |
| 静音播放 | 针对视频的静音,不影响系统声音 | |
| 字幕 | 支持srt字幕文件加载并根据时间回调当前时间的文案给上层 | |
| DRM | 支持HLS 私有加密/通用加密 2种方式 | |



Expand All @@ -43,7 +45,7 @@ Qplayer2是一款跨平台的播放器SDK,除了基础的播放器能力外,
##### 引入依赖

```groovy
pod 'qplayer2-core', '1.2.4'
pod 'qplayer2-core', '1.3.1'
```


Expand All @@ -67,6 +69,10 @@ pod 'qplayer2-core', '1.2.4'

请查阅document目录下的api文档

#### 接入文档

https://developer.qiniu.com/pili/12225/qplayer2-ios-side



##### Demo介绍
Expand Down
17 changes: 17 additions & 0 deletions ReleaseNote/ReleaseNote-1.3.1.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# 1.3.1 ReleaseNote

#### 能力

- 新增字幕
- 新增HLS支持私有drm加密
- 新增直播支持追帧

#### 优化

- 提升短视频场景首开时间

#### 修复问题

- 修复 m3u8 seek 到 0 时失败
- 修复 WiFi 切 5G buffering 时间过长
- 修复断网五分钟后恢复网络,视频不能继续播放
2 changes: 1 addition & 1 deletion document/qplayer2-core/html/Classes/QMediaItemContext.html
Original file line number Diff line number Diff line change
Expand Up @@ -337,7 +337,7 @@ <h4 class="method-subtitle">Declared In</h4>
<footer>
<div class="footer-copyright">

<p class="copyright">Copyright &copy; 2023 七牛云. All rights reserved. Updated: 2023-01-17</p>
<p class="copyright">Copyright &copy; 2023 七牛云. All rights reserved. Updated: 2023-08-30</p>


<p class="generator">Generated by <a href="http://appledoc.gentlebytes.com">appledoc 2.2.1 (build 1334)</a>.</p>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,12 @@ <h1 id="library-title">



<optgroup label="Properties">

<option value="//api/name/currentState">currentState</option>

</optgroup>




Expand Down Expand Up @@ -120,6 +126,52 @@ <h1 class="title">QMediaItemControlHandler Class Reference</h1>

<div class="task-list">
<div class="section-method">
<a name="//api/name/currentState" title="currentState"></a>
<h3 class="method-title"><code><a href="#//api/name/currentState">&nbsp;&nbsp;currentState</a></code>
</h3>

<div class="method-info">
<div class="pointy-thing"></div>

<div class="method-info-container">


<div class="method-subsection brief-description">
<p>当前预加载状态</p>
</div>



<div class="method-subsection method-declaration"><code>@property (nonatomic, assign, readonly) QMediaItemState currentState</code></div>









<div class="method-subsection discussion-section">
<h4 class="method-subtitle">Discussion</h4>
<p>当前预加载状态</p>
</div>







<div class="method-subsection declared-in-section">
<h4 class="method-subtitle">Declared In</h4>
<p><code class="declared-in-ref">QMediaItemControlHandler.h</code></p>
</div>


</div>
</div>
</div><div class="section-method">
<a name="//api/name/start" title="start"></a>
<h3 class="method-title"><code><a href="#//api/name/start">&ndash;&nbsp;start</a></code>
</h3>
Expand Down Expand Up @@ -692,7 +744,7 @@ <h4 class="method-subtitle">Declared In</h4>
<footer>
<div class="footer-copyright">

<p class="copyright">Copyright &copy; 2023 七牛云. All rights reserved. Updated: 2023-01-17</p>
<p class="copyright">Copyright &copy; 2023 七牛云. All rights reserved. Updated: 2023-08-30</p>


<p class="generator">Generated by <a href="http://appledoc.gentlebytes.com">appledoc 2.2.1 (build 1334)</a>.</p>
Expand Down
45 changes: 44 additions & 1 deletion document/qplayer2-core/html/Classes/QMediaModel.html
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,8 @@ <h1 id="library-title">

<option value="//api/name/streamElements">streamElements</option>

<option value="//api/name/subtitleElements">subtitleElements</option>

</optgroup>


Expand Down Expand Up @@ -146,6 +148,47 @@ <h3 class="method-title"><code><a href="#//api/name/streamElements">&nbsp;&nbsp;



<div class="method-subsection declared-in-section">
<h4 class="method-subtitle">Declared In</h4>
<p><code class="declared-in-ref">QMediaModel.h</code></p>
</div>


</div>
</div>
</div><div class="section-method">
<a name="//api/name/subtitleElements" title="subtitleElements"></a>
<h3 class="method-title"><code><a href="#//api/name/subtitleElements">&nbsp;&nbsp;subtitleElements</a></code>
</h3>

<div class="method-info">
<div class="pointy-thing"></div>

<div class="method-info-container">


<div class="method-subsection brief-description">
<p>QSubtitleElements 字幕资源包含的流</p>
</div>



<div class="method-subsection method-declaration"><code>@property (strong, nonatomic, readonly) NSArray&lt;QSubtitleElement*&gt; *subtitleElements</code></div>















<div class="method-subsection declared-in-section">
<h4 class="method-subtitle">Declared In</h4>
<p><code class="declared-in-ref">QMediaModel.h</code></p>
Expand Down Expand Up @@ -210,7 +253,7 @@ <h4 class="method-subtitle">Declared In</h4>
<footer>
<div class="footer-copyright">

<p class="copyright">Copyright &copy; 2023 七牛云. All rights reserved. Updated: 2023-01-17</p>
<p class="copyright">Copyright &copy; 2023 七牛云. All rights reserved. Updated: 2023-08-30</p>


<p class="generator">Generated by <a href="http://appledoc.gentlebytes.com">appledoc 2.2.1 (build 1334)</a>.</p>
Expand Down
Loading

0 comments on commit dbb55aa

Please sign in to comment.