Skip to content

Commit

Permalink
update to v3.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
ksvcci committed Jan 5, 2018
1 parent 18bb3e9 commit b8325d2
Show file tree
Hide file tree
Showing 81 changed files with 351 additions and 67 deletions.
2 changes: 1 addition & 1 deletion KSYMediaPlayer_iOS.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |spec|
spec.name = 'KSYMediaPlayer_iOS'
spec.version = '2.9.5'
spec.version = '3.0.0'
spec.license = {
:type => 'Proprietary',
:text => <<-LICENSE
Expand Down
4 changes: 2 additions & 2 deletions demo/KSYPlayerDemo/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
<string>2.9.5</string>
<string>3.0.0</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>2.9.5.0</string>
<string>3.0.0.1</string>
<key>LSRequiresIPhoneOS</key>
<true/>
<key>NSAppTransportSecurity</key>
Expand Down
2 changes: 1 addition & 1 deletion doc/docset-installed.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Documentation set was installed to Xcode!

Path: /Users/ksvc/Library/Developer/Shared/Documentation/DocSets/com.ksyun.KSYLive_iOS.docset
Time: 2017-12-22 11:04:09 +0000
Time: 2018-01-05 09:03:05 +0000
2 changes: 1 addition & 1 deletion doc/docset/Contents/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,6 @@
<key>DocSetPublisherName</key>
<string>Kingsoft</string>
<key>NSHumanReadableCopyright</key>
<string>Copyright © 2017 Kingsoft. All rights reserved.</string>
<string>Copyright © 2018 Kingsoft. All rights reserved.</string>
</dict>
</plist>
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ <h3 class="subsubtitle method-title">KSYNetworkReachability</h3>
<footer>
<div class="footer-copyright">

<p class="copyright">Copyright &copy; 2017 Kingsoft. All rights reserved. </p>
<p class="copyright">Copyright &copy; 2018 Kingsoft. All rights reserved. </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 @@ -93,7 +93,7 @@ <h3 class="subsubtitle method-title">KSYNetworkReachable</h3>
<footer>
<div class="footer-copyright">

<p class="copyright">Copyright &copy; 2017 Kingsoft. All rights reserved. </p>
<p class="copyright">Copyright &copy; 2018 Kingsoft. All rights reserved. </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 @@ -93,7 +93,7 @@ <h3 class="subsubtitle method-title">KSYNetworkUnreachable</h3>
<footer>
<div class="footer-copyright">

<p class="copyright">Copyright &copy; 2017 Kingsoft. All rights reserved. </p>
<p class="copyright">Copyright &copy; 2018 Kingsoft. All rights reserved. </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 @@ -112,7 +112,7 @@ <h4 class="method-subtitle">Declared In</h4>
<footer>
<div class="footer-copyright">

<p class="copyright">Copyright &copy; 2017 Kingsoft. All rights reserved. </p>
<p class="copyright">Copyright &copy; 2018 Kingsoft. All rights reserved. </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 @@ -112,7 +112,7 @@ <h4 class="method-subtitle">Declared In</h4>
<footer>
<div class="footer-copyright">

<p class="copyright">Copyright &copy; 2017 Kingsoft. All rights reserved. </p>
<p class="copyright">Copyright &copy; 2018 Kingsoft. All rights reserved. </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 @@ -112,7 +112,7 @@ <h4 class="method-subtitle">Declared In</h4>
<footer>
<div class="footer-copyright">

<p class="copyright">Copyright &copy; 2017 Kingsoft. All rights reserved. </p>
<p class="copyright">Copyright &copy; 2018 Kingsoft. All rights reserved. </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 @@ -112,7 +112,7 @@ <h4 class="method-subtitle">Declared In</h4>
<footer>
<div class="footer-copyright">

<p class="copyright">Copyright &copy; 2017 Kingsoft. All rights reserved. </p>
<p class="copyright">Copyright &copy; 2018 Kingsoft. All rights reserved. </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 @@ -425,7 +425,7 @@ <h4 class="method-subtitle">Declared In</h4>
<footer>
<div class="footer-copyright">

<p class="copyright">Copyright &copy; 2017 Kingsoft. All rights reserved. </p>
<p class="copyright">Copyright &copy; 2018 Kingsoft. All rights reserved. </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 @@ -339,7 +339,7 @@ <h4 class="method-subtitle">Declared In</h4>
<footer>
<div class="footer-copyright">

<p class="copyright">Copyright &copy; 2017 Kingsoft. All rights reserved. </p>
<p class="copyright">Copyright &copy; 2018 Kingsoft. All rights reserved. </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 @@ -82,6 +82,8 @@ <h1 id="library-title">

<option value="//api/name/getVideoThumbnailImageAtTime:width:height:">- getVideoThumbnailImageAtTime:width:height:</option>

<option value="//api/name/getVideoThumbnailImageAtTime:width:height:accurate:">- getVideoThumbnailImageAtTime:width:height:accurate:</option>

<option value="//api/name/initWithContentURL:">- initWithContentURL:</option>

<option value="//api/name/setHttpHeaders:">- setHttpHeaders:</option>
Expand Down Expand Up @@ -694,6 +696,97 @@ <h4 class="method-subtitle">Discussion</h4>



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


</div>
</div>
</div><div class="section-method">
<a name="//api/name/getVideoThumbnailImageAtTime:width:height:accurate:" title="getVideoThumbnailImageAtTime:width:height:accurate:"></a>
<h3 class="method-title"><code><a href="#//api/name/getVideoThumbnailImageAtTime:width:height:accurate:">&ndash;&nbsp;getVideoThumbnailImageAtTime:width:height:accurate:</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 *)getVideoThumbnailImageAtTime:(NSTimeInterval)<em>seekTime</em> width:(int)<em>width</em> height:(int)<em>height</em> accurate:(BOOL)<em>accurate</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>seekTime</code></th>
<td><p>指定的时间位置,单位为s, 小于0时无法截图</p></td>
</tr>

<tr>
<th scope="row" class="argument-name"><code>width</code></th>
<td><p>缩略图的宽度</p></td>
</tr>

<tr>
<th scope="row" class="argument-name"><code>height</code></th>
<td><p>缩略图的高度</p></td>
</tr>

<tr>
<th scope="row" class="argument-name"><code>accurate</code></th>
<td><p>指定是否使用精准获取缩略图</p></td>
</tr>

</table>
</div>



<div class="method-subsection return">
<h4 class="method-subtitle parameter-title">Return Value</h4>
<p>返回UIImage对象,即为缩略图</p>
</div>



<div class="method-subsection availability">
<h4 class="method-subtitle parameter-title">Availability</h4>
<p>Available in <a href="../Classes/KSYMoviePlayerController.html">KSYMoviePlayerController</a> 2.9.6 and later.</p>
</div>



<div class="method-subsection discussion-section">
<h4 class="method-subtitle">Discussion</h4>
<p>缩略图宽度和高度说明</p>

<ul>
<li>指定缩略图宽度和高度都为0时,输出的缩略图与原视频中的宽高相同</li>
<li>指定缩略图宽度不为0,高度为0时,高度会根据原视频的宽高比例做出缩放</li>
<li>指定缩略图高度不为0,宽度为0时,宽度会根据原视频的宽高比例作出缩放</li>
<li>如果accurate为NO,只能获取关键帧的缩略图;如果为YES,则按照seekTime精准获取缩略图</li>
</ul>

</div>







<div class="method-subsection declared-in-section">
<h4 class="method-subtitle">Declared In</h4>
<p><code class="declared-in-ref">KSYMediaInfoProber.h</code></p>
Expand All @@ -717,7 +810,7 @@ <h4 class="method-subtitle">Declared In</h4>
<footer>
<div class="footer-copyright">

<p class="copyright">Copyright &copy; 2017 Kingsoft. All rights reserved. </p>
<p class="copyright">Copyright &copy; 2018 Kingsoft. All rights reserved. </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 @@ -3910,7 +3910,7 @@ <h4 class="method-subtitle">Declared In</h4>
<footer>
<div class="footer-copyright">

<p class="copyright">Copyright &copy; 2017 Kingsoft. All rights reserved. </p>
<p class="copyright">Copyright &copy; 2018 Kingsoft. All rights reserved. </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 @@ -430,7 +430,7 @@ <h4 class="method-subtitle">Declared In</h4>
<footer>
<div class="footer-copyright">

<p class="copyright">Copyright &copy; 2017 Kingsoft. All rights reserved. </p>
<p class="copyright">Copyright &copy; 2018 Kingsoft. All rights reserved. </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 @@ -489,7 +489,7 @@ <h4 class="method-subtitle">Declared In</h4>
<footer>
<div class="footer-copyright">

<p class="copyright">Copyright &copy; 2017 Kingsoft. All rights reserved. </p>
<p class="copyright">Copyright &copy; 2018 Kingsoft. All rights reserved. </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 @@ -520,7 +520,7 @@ <h4 class="method-subtitle">Declared In</h4>
<footer>
<div class="footer-copyright">

<p class="copyright">Copyright &copy; 2017 Kingsoft. All rights reserved. </p>
<p class="copyright">Copyright &copy; 2018 Kingsoft. All rights reserved. </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 @@ -536,7 +536,7 @@ <h3 class="method-title"><code><a href="#//api/name/currentReachabilityFlags">&n
<footer>
<div class="footer-copyright">

<p class="copyright">Copyright &copy; 2017 Kingsoft. All rights reserved. </p>
<p class="copyright">Copyright &copy; 2018 Kingsoft. All rights reserved. </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 @@ -253,7 +253,7 @@ <h4 class="method-subtitle">Declared In</h4>
<footer>
<div class="footer-copyright">

<p class="copyright">Copyright &copy; 2017 Kingsoft. All rights reserved. </p>
<p class="copyright">Copyright &copy; 2018 Kingsoft. All rights reserved. </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 @@ -520,7 +520,7 @@ <h4 class="method-subtitle">Declared In</h4>
<footer>
<div class="footer-copyright">

<p class="copyright">Copyright &copy; 2017 Kingsoft. All rights reserved. </p>
<p class="copyright">Copyright &copy; 2018 Kingsoft. All rights reserved. </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 @@ -190,7 +190,7 @@ <h4 class="method-subtitle">Declared In</h4>
<footer>
<div class="footer-copyright">

<p class="copyright">Copyright &copy; 2017 Kingsoft. All rights reserved. </p>
<p class="copyright">Copyright &copy; 2018 Kingsoft. All rights reserved. </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 @@ -159,7 +159,7 @@ <h4 class="method-subtitle">Declared In</h4>
<footer>
<div class="footer-copyright">

<p class="copyright">Copyright &copy; 2017 Kingsoft. All rights reserved. </p>
<p class="copyright">Copyright &copy; 2018 Kingsoft. All rights reserved. </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 @@ -406,7 +406,7 @@ <h4 class="method-subtitle">Declared In</h4>
<footer>
<div class="footer-copyright">

<p class="copyright">Copyright &copy; 2017 Kingsoft. All rights reserved. </p>
<p class="copyright">Copyright &copy; 2018 Kingsoft. All rights reserved. </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 @@ -368,7 +368,7 @@ <h4 class="method-subtitle">Declared In</h4>
<footer>
<div class="footer-copyright">

<p class="copyright">Copyright &copy; 2017 Kingsoft. All rights reserved. </p>
<p class="copyright">Copyright &copy; 2018 Kingsoft. All rights reserved. </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 @@ -349,7 +349,7 @@ <h4 class="method-subtitle">Declared In</h4>
<footer>
<div class="footer-copyright">

<p class="copyright">Copyright &copy; 2017 Kingsoft. All rights reserved. </p>
<p class="copyright">Copyright &copy; 2018 Kingsoft. All rights reserved. </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 @@ -178,7 +178,7 @@ <h4 class="method-subtitle">Declared In</h4>
<footer>
<div class="footer-copyright">

<p class="copyright">Copyright &copy; 2017 Kingsoft. All rights reserved. </p>
<p class="copyright">Copyright &copy; 2018 Kingsoft. All rights reserved. </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 @@ -197,7 +197,7 @@ <h4 class="method-subtitle">Declared In</h4>
<footer>
<div class="footer-copyright">

<p class="copyright">Copyright &copy; 2017 Kingsoft. All rights reserved. </p>
<p class="copyright">Copyright &copy; 2018 Kingsoft. All rights reserved. </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 @@ -159,7 +159,7 @@ <h4 class="method-subtitle">Declared In</h4>
<footer>
<div class="footer-copyright">

<p class="copyright">Copyright &copy; 2017 Kingsoft. All rights reserved. </p>
<p class="copyright">Copyright &copy; 2018 Kingsoft. All rights reserved. </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 @@ -216,7 +216,7 @@ <h4 class="method-subtitle">Declared In</h4>
<footer>
<div class="footer-copyright">

<p class="copyright">Copyright &copy; 2017 Kingsoft. All rights reserved. </p>
<p class="copyright">Copyright &copy; 2018 Kingsoft. All rights reserved. </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 @@ -197,7 +197,7 @@ <h4 class="method-subtitle">Declared In</h4>
<footer>
<div class="footer-copyright">

<p class="copyright">Copyright &copy; 2017 Kingsoft. All rights reserved. </p>
<p class="copyright">Copyright &copy; 2018 Kingsoft. All rights reserved. </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 @@ -159,7 +159,7 @@ <h4 class="method-subtitle">Declared In</h4>
<footer>
<div class="footer-copyright">

<p class="copyright">Copyright &copy; 2017 Kingsoft. All rights reserved. </p>
<p class="copyright">Copyright &copy; 2018 Kingsoft. All rights reserved. </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 b8325d2

Please sign in to comment.