Commit c2540542 authored by Han Ruisong's avatar Han Ruisong
Browse files

升级到 4.6.1

1.优化DWPlayerView工作流程。
2.demo中新增播放失败重试逻辑。
parent b7b1c442
......@@ -313,7 +313,7 @@
<footer>
<div class="footer-copyright">
<p class="copyright">Copyright &copy; 2020 com.bokecc. All rights reserved. Updated: 2020-06-19</p>
<p class="copyright">Copyright &copy; 2019 com.bokecc. All rights reserved. Updated: 2019-07-02</p>
<p class="generator">Generated by <a href="http://appledoc.gentlebytes.com">appledoc 2.2.1 (build 1334)</a>.</p>
......
......@@ -864,7 +864,7 @@
<footer>
<div class="footer-copyright">
<p class="copyright">Copyright &copy; 2020 com.bokecc. All rights reserved. Updated: 2020-06-19</p>
<p class="copyright">Copyright &copy; 2019 com.bokecc. All rights reserved. Updated: 2019-07-02</p>
<p class="generator">Generated by <a href="http://appledoc.gentlebytes.com">appledoc 2.2.1 (build 1334)</a>.</p>
......
......@@ -527,7 +527,7 @@
<footer>
<div class="footer-copyright">
<p class="copyright">Copyright &copy; 2020 com.bokecc. All rights reserved. Updated: 2020-06-19</p>
<p class="copyright">Copyright &copy; 2019 com.bokecc. All rights reserved. Updated: 2019-07-02</p>
<p class="generator">Generated by <a href="http://appledoc.gentlebytes.com">appledoc 2.2.1 (build 1334)</a>.</p>
......
......@@ -412,7 +412,7 @@ buffer 管理器会将 NSHTTPURLResponse 转化为标准的 http response header
<footer>
<div class="footer-copyright">
<p class="copyright">Copyright &copy; 2020 com.bokecc. All rights reserved. Updated: 2020-06-19</p>
<p class="copyright">Copyright &copy; 2019 com.bokecc. All rights reserved. Updated: 2019-07-02</p>
<p class="generator">Generated by <a href="http://appledoc.gentlebytes.com">appledoc 2.2.1 (build 1334)</a>.</p>
......
......@@ -587,7 +587,7 @@
<footer>
<div class="footer-copyright">
<p class="copyright">Copyright &copy; 2020 com.bokecc. All rights reserved. Updated: 2020-06-19</p>
<p class="copyright">Copyright &copy; 2019 com.bokecc. All rights reserved. Updated: 2019-07-02</p>
<p class="generator">Generated by <a href="http://appledoc.gentlebytes.com">appledoc 2.2.1 (build 1334)</a>.</p>
......
......@@ -506,7 +506,7 @@
<footer>
<div class="footer-copyright">
<p class="copyright">Copyright &copy; 2020 com.bokecc. All rights reserved. Updated: 2020-06-19</p>
<p class="copyright">Copyright &copy; 2019 com.bokecc. All rights reserved. Updated: 2019-07-02</p>
<p class="generator">Generated by <a href="http://appledoc.gentlebytes.com">appledoc 2.2.1 (build 1334)</a>.</p>
......
......@@ -214,7 +214,7 @@
<footer>
<div class="footer-copyright">
<p class="copyright">Copyright &copy; 2020 com.bokecc. All rights reserved. Updated: 2020-06-19</p>
<p class="copyright">Copyright &copy; 2019 com.bokecc. All rights reserved. Updated: 2019-07-02</p>
<p class="generator">Generated by <a href="http://appledoc.gentlebytes.com">appledoc 2.2.1 (build 1334)</a>.</p>
......
......@@ -217,7 +217,7 @@
<footer>
<div class="footer-copyright">
<p class="copyright">Copyright &copy; 2020 com.bokecc. All rights reserved. Updated: 2020-06-19</p>
<p class="copyright">Copyright &copy; 2019 com.bokecc. All rights reserved. Updated: 2019-07-02</p>
<p class="generator">Generated by <a href="http://appledoc.gentlebytes.com">appledoc 2.2.1 (build 1334)</a>.</p>
......
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>DWPlayInfo Class Reference</title>
<link rel="stylesheet" href="../css/style.css">
<meta name="viewport" content="initial-scale=1, maximum-scale=1.4">
<meta name="generator" content="appledoc 2.2.1 (build 1334)">
</head>
<body class="appledoc">
<header>
<div class="container" class="hide-in-xcode">
<h1 id="library-title">
<a href="../index.html">bokecc </a>
</h1>
<p id="developer-home">
<a href="../index.html">com.bokecc</a>
</p>
</div>
</header>
<aside>
<div class="container">
<nav>
<ul id="header-buttons" role="toolbar">
<li><a href="../index.html">Index</a></li>
<li><a href="../hierarchy.html">Hierarchy</a></li>
<li id="on-this-page" role="navigation">
<label>
On This Page
<div class="chevron">
<div class="chevy chevron-left"></div>
<div class="chevy chevron-right"></div>
</div>
<select id="jump-to">
<option value="top">Jump To&#133;</option>
<option value="tasks">Tasks</option>
<optgroup label="Instance Methods">
<option value="//api/name/cancel">- cancel</option>
<option value="//api/name/initWithUserId:andVideoId:key:">- initWithUserId:andVideoId:key:</option>
<option value="//api/name/initWithUserId:andVideoId:key:hlsSupport:">- initWithUserId:andVideoId:key:hlsSupport:</option>
<option value="//api/name/start">- start</option>
</optgroup>
</select>
</label>
</li>
</ul>
</nav>
</div>
</aside>
<article>
<div id="overview_contents" class="container">
<div id="content">
<main role="main">
<h1 class="title">DWPlayInfo Class Reference</h1>
<div class="section section-specification"><table cellspacing="0"><tbody>
<tr>
<th>Inherits from</th>
<td>NSObject</td>
</tr><tr>
<th>Declared in</th>
<td>DWPlayInfo.h<br />DWPlayInfo.m</td>
</tr>
</tbody></table></div>
<div class="section section-tasks">
<a title="Tasks" name="tasks"></a>
<div class="task-list">
<div class="section-method">
<a name="//api/name/initWithUserId:andVideoId:key:" title="initWithUserId:andVideoId:key:"></a>
<h3 class="method-title"><code><a href="#//api/name/initWithUserId:andVideoId:key:">&ndash;&nbsp;initWithUserId:andVideoId:key:</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>- (id)initWithUserId:(NSString *)<em>userId</em> andVideoId:(NSString *)<em>videoId</em> key:(NSString *)<em>key</em></code></div>
<div class="method-subsection arguments-section parameters">
<h4 class="method-subtitle parameter-title">Parameters</h4>
<table class="argument-def parameter-def">
<tr>
<th scope="row" class="argument-name"><code>userId</code></th>
<td><p>账号id</p></td>
</tr>
<tr>
<th scope="row" class="argument-name"><code>videoId</code></th>
<td><p>视频id</p></td>
</tr>
<tr>
<th scope="row" class="argument-name"><code>key</code></th>
<td><p>账号<a href="#//api/name/key">key</a></p></td>
</tr>
</table>
</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">DWPlayInfo.h</code></p>
</div>
</div>
</div>
</div><div class="section-method">
<a name="//api/name/initWithUserId:andVideoId:key:hlsSupport:" title="initWithUserId:andVideoId:key:hlsSupport:"></a>
<h3 class="method-title"><code><a href="#//api/name/initWithUserId:andVideoId:key:hlsSupport:">&ndash;&nbsp;initWithUserId:andVideoId:key:hlsSupport:</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>- (id)initWithUserId:(NSString *)<em>userId</em> andVideoId:(NSString *)<em>videoId</em> key:(NSString *)<em>key</em> hlsSupport:(NSString *)<em>hlsSupport</em></code></div>
<div class="method-subsection arguments-section parameters">
<h4 class="method-subtitle parameter-title">Parameters</h4>
<table class="argument-def parameter-def">
<tr>
<th scope="row" class="argument-name"><code>userId</code></th>
<td><p>账号id</p></td>
</tr>
<tr>
<th scope="row" class="argument-name"><code>videoId</code></th>
<td><p>视频id</p></td>
</tr>
<tr>
<th scope="row" class="argument-name"><code>key</code></th>
<td><p>账号<a href="#//api/name/key">key</a></p></td>
</tr>
<tr>
<th scope="row" class="argument-name"><code>hlsSupport</code></th>
<td><p>获取播放地址时,若账号支持hls,填@&ldquo;1"会返回m3u8下载地址。获取下载地址时,请填@"0&rdquo;</p></td>
</tr>
</table>
</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">DWPlayInfo.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>
<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>- (void)start</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">DWPlayInfo.h</code></p>
</div>
</div>
</div>
</div><div class="section-method">
<a name="//api/name/cancel" title="cancel"></a>
<h3 class="method-title"><code><a href="#//api/name/cancel">&ndash;&nbsp;cancel</a></code>
</h3>
<div class="method-info">
<div class="pointy-thing"></div>
<div class="method-info-container">
<div class="method-subsection brief-description">
<p>取消获取视频数据,取消之后,不会调用errorBlock或finishBlock。</p>
</div>
<div class="method-subsection method-declaration"><code>- (void)cancel</code></div>
<div class="method-subsection discussion-section">
<h4 class="method-subtitle">Discussion</h4>
<p>取消获取视频数据,取消之后,不会调用errorBlock或finishBlock。</p>
</div>
<div class="method-subsection declared-in-section">
<h4 class="method-subtitle">Declared In</h4>
<p><code class="declared-in-ref">DWPlayInfo.h</code></p>
</div>
</div>
</div>
</div>
</div>
</div>
</main>
<footer>
<div class="footer-copyright">
<p class="copyright">Copyright &copy; 2020 com.bokecc. All rights reserved. Updated: 2020-06-19</p>
<p class="generator">Generated by <a href="http://appledoc.gentlebytes.com">appledoc 2.2.1 (build 1334)</a>.</p>
</div>
</footer>
</div>
</div>
</article>
<script src="../js/script.js"></script>
</body>
</html>
\ No newline at end of file
......@@ -1169,7 +1169,7 @@ AVLayerVideoGravityResizeAspectFill, // 等比例填充,直到填充满整个
<footer>
<div class="footer-copyright">
<p class="copyright">Copyright &copy; 2020 com.bokecc. All rights reserved. Updated: 2020-06-19</p>
<p class="copyright">Copyright &copy; 2019 com.bokecc. All rights reserved. Updated: 2019-07-02</p>
<p class="generator">Generated by <a href="http://appledoc.gentlebytes.com">appledoc 2.2.1 (build 1334)</a>.</p>
......
......@@ -66,14 +66,8 @@
<option value="//api/name/muted">muted</option>
<option value="//api/name/pausedTimes">pausedTimes</option>
<option value="//api/name/playedTimes">playedTimes</option>
<option value="//api/name/player">player</option>
<option value="//api/name/playerLayer">playerLayer</option>
<option value="//api/name/playing">playing</option>
<option value="//api/name/timeOutBuffer">timeOutBuffer</option>
......@@ -82,8 +76,6 @@
<option value="//api/name/videoModel">videoModel</option>
<option value="//api/name/videoProtect">videoProtect</option>
<option value="//api/name/writeURL">writeURL</option>
</optgroup>
......@@ -144,14 +136,10 @@
<option value="//api/name/resetPlayer">- resetPlayer</option>
<option value="//api/name/screenShot">- screenShot</option>
<option value="//api/name/scrub:">- scrub:</option>
<option value="//api/name/scrubPrecise:CompletionHandler:">- scrubPrecise:CompletionHandler:</option>
<option value="//api/name/setPictureInPicture:">- setPictureInPicture:</option>
<option value="//api/name/setPlayInBackground:">- setPlayInBackground:</option>
<option value="//api/name/setPlayerRate:">- setPlayerRate:</option>
......@@ -594,7 +582,7 @@
<div class="method-subsection brief-description">
<p>设置是否允许后台播放</p>
<p>设置是否允许后台播放,目前只支持音频后台播放</p>
</div>
......@@ -623,65 +611,7 @@
<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">DWPlayerView.h</code></p>
</div>
</div>
</div>
</div><div class="section-method">
<a name="//api/name/setPictureInPicture:" title="setPictureInPicture:"></a>
<h3 class="method-title"><code><a href="#//api/name/setPictureInPicture:">&ndash;&nbsp;setPictureInPicture:</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>- (void)setPictureInPicture:(BOOL)<em>openPIP</em></code></div>
<div class="method-subsection arguments-section parameters">
<h4 class="method-subtitle parameter-title">Parameters</h4>
<table class="argument-def parameter-def">
<tr>
<th scope="row" class="argument-name"><code>play</code></th>
<td><p>是否画中画模式</p></td>
</tr>
</table>
</div>
<div class="method-subsection discussion-section">
<h4 class="method-subtitle">Discussion</h4>
<p>设置是否画中画模式</p>
<p>设置是否允许后台播放,目前只支持音频后台播放</p>
</div>
......@@ -1557,52 +1487,6 @@
<div class="method-subsection declared-in-section">
<h4 class="method-subtitle">Declared In</h4>
<p><code class="declared-in-ref">DWPlayerView.h</code></p>
</div>
</div>
</div>
</div><div class="section-method">
<a name="//api/name/screenShot" title="screenShot"></a>
<h3 class="method-title"><code><a href="#//api/name/screenShot">&ndash;&nbsp;screenShot</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>- (UIImage *)screenShot</code></div>
<div class="method-subsection discussion-section">
<h4 class="method-subtitle">Discussion</h4>
<p>获取当前播放器截图</p>
</div>