Commit 6653ad94 authored by Han Ruisong's avatar Han Ruisong
Browse files

升级到4.2.2

1.DWPlayerView新增AVPlayerLayer属性。
2.修复了不引入DWSDK.h可能导致编译报错的bug。
parent 453ebbfd
This diff is collapsed.
......@@ -9,6 +9,7 @@
@class DWVodVideoModel;
@class DWDownloadModel;
@class DWVideoQualityModel;
typedef NS_ENUM(NSUInteger, DWPlayerViewTimeOut) {
DWPlayerViewStatusTimeOutLoad,//加载超时
......@@ -64,6 +65,11 @@ typedef NS_ENUM(NSUInteger, DWPlayerViewLoadStyle) {
*/
@property(nonatomic,strong,readonly)AVPlayer *player;
/**
播放图层
*/
@property(nonatomic,strong,readonly)AVPlayerLayer *playerLayer;
/**
代理
*/
......
......@@ -26,5 +26,5 @@
#import "DWVodAdInfoModel.h"
//版本号
#define SDK_VERSION @"4.2.1"
#define SDK_VERSION @"4.2.2"
No preview for this file type
......@@ -493,6 +493,6 @@ header, .context-menu, .megamenu-content, footer{
</style>
</head>
<body class='typora-export' >
<div id='write' class = 'is-mac'><h1><a name="%E6%9B%B4%E6%96%B0%E6%97%A5%E5%BF%97" class="md-header-anchor"></a><span>更新日志 </span></h1><h2><a name="version-4.2.1" class="md-header-anchor"></a><span>Version 4.2.1</span></h2><p><span>发布时间:2019-08-19</span></p><p><span>更新内容:</span></p><p><span>1.支持视频后台上传。</span></p><p><span>2.优化下载流程。</span></p><h2><a name="version-4.2.0" class="md-header-anchor"></a><span>Version 4.2.0</span></h2><p><span>发布时间:2019-08-12</span></p><p><span>更新内容:</span></p><p><span>1.新增视频防录屏功能</span></p><p><span>2.新增视频动态水印</span></p><p><span>3.优化离线视频播放流程</span></p><p><span>4.优化下载暂停流程</span></p><h2><a name="version-4.1.0" class="md-header-anchor"></a><span>Version 4.1.0</span></h2><p><span>发布时间:2019-07-30</span></p><p><span>更新内容:</span></p><p><span>1.新增视频投屏功能。</span></p><p><span>2.优化视频问答流程。</span></p><p><span>3.将resource.bundle修改为DWResource.bundle防止引入冲突。 </span></p><h2><a name="version-4.0.3" class="md-header-anchor"></a><span>Version 4.0.3</span></h2><p><span>发布时间:2019-07-09</span></p><p><span>更新内容:</span></p><p><span>1.修复了备用线路地址输出不正确的bug。</span></p><h2><a name="version-4.0.2" class="md-header-anchor"></a><span>Version 4.0.2</span></h2><p><span>发布时间:2019-07-03</span></p><p><span>更新内容:</span></p><p><span>1.修复了课堂练习显示有问题的bug。</span></p><h2><a name="version-4.0.1" class="md-header-anchor"></a><span>Version 4.0.1</span></h2><p><span>发布时间:2019-07-02</span></p><p><span>更新内容:</span></p><p><span>1.课堂练习功能。</span></p><p><span>2.支持m3u8格式,缓存时长控制。</span></p><p><span>3.修复了iPhone7及plus机型下,m3u8播放链接可能会返回有误的问题。</span></p><h2><a name="version-4.0.0" class="md-header-anchor"></a><span>Version 4.0.0</span></h2><p><span>发布时间:2019-06-18</span></p><p><span>更新内容:</span></p><p><span>1.demo全新升级。</span></p><p><span>2.加密与非加密版本的demo合并。</span></p><p><span>3.支持Cocoapods方式集成。</span></p><p><span>4.优化SDK使用方式。</span></p><h2><a name="version-3.4.5" class="md-header-anchor"></a><span>Version 3.4.5</span></h2><p><span>发布时间:2019-06-14</span></p><p><span>更新内容:</span></p><p><span>1.视频问答优化。</span></p><p><span>2.广告播放流程优化。</span></p><p><span>3.修复了低版本下,播放音频时可能会导致闪退的问题。</span></p><h2><a name="version-3.4.4" class="md-header-anchor"></a><span>Version 3.4.4</span></h2><p><span>发布时间:2019-05-17</span></p><p><span>更新内容:</span></p><p><span>1.新增访客信息收集器功能。 </span><br/><span> </span><br/><span>2.解决了在一些特殊情况下会发生crash的bug。</span></p><h2><a name="version-3.4.3" class="md-header-anchor"></a><span>Version 3.4.3</span></h2><p><span>发布时间:2019-04-19</span></p><p><span>更新内容:</span></p><p><span>1.修复了播放离线音视频可能会crash的bug。</span></p><h2><a name="version-3.4.1" class="md-header-anchor"></a><span>Version 3.4.1</span></h2><p><span>发布时间:2019-04-02</span></p><p><span>更新内容:</span></p><p><span>1.优化了播放音频时,可能出现的缓冲时间过长的问题。</span></p><h2><a name="version-3.4.0" class="md-header-anchor"></a><span>Version 3.4.0</span></h2><p><span>发布时间:2019-03-06</span></p><p><span>更新内容:</span></p><p><span>1.新增音频DRM加密功能。</span></p><h2><a name="version-3.3.6" class="md-header-anchor"></a><span>Version 3.3.6</span></h2><p><span>发布时间:2019-02-27</span></p><p><span>更新内容:</span></p><p><span>1.修复了对同一DWDrmServer对象多次调用start/stop,引起crash的bug。</span></p><h2><a name="version-3.3.5" class="md-header-anchor"></a><span>Version 3.3.5</span></h2><p><span>发布时间:2019-02-14</span></p><p><span>更新内容:</span></p><p><span>1.视频批量下载功能。</span></p><p><span>2.修复了Demo界面上的一些显示bug。</span></p><h2><a name="version-3.3.4" class="md-header-anchor"></a><span>Version 3.3.4</span></h2><p><span>发布时间:2019-01-25</span></p><p><span>更新内容:</span></p><p><span>1.新增字幕切换功能。</span></p><h2><a name="version-3.3.3" class="md-header-anchor"></a><span>Version 3.3.3</span></h2><p><span>发布时间:2019-01-09</span></p><p><span>更新内容:</span></p><p><span>1.修复了iOS11.3之后,当原URL失效时,无法使用新URL继续下载的BUG。</span></p><h2><a name="version-3.3.2" class="md-header-anchor"></a><span>Version 3.3.2</span></h2><p><span>发布时间:2018-12-26</span></p><p><span>更新内容:</span></p><p><span>1.完善SDK内部播放出错处理机制。</span></p><p><span>2.优化了demo流程,播放失败时自动切换备用线路。</span></p><p><span>3.修复了demo中的一些bug。</span></p><h2><a name="version-3.3.1" class="md-header-anchor"></a><span>Version 3.3.1</span></h2><p><span>发布时间:2018-12-12</span></p><p><span>更新内容:</span></p><p><span>1.GIF功能整合,m3u8视频格式可以正常生成GIF。</span></p><p><span>2.修复了Drm模块在弱网下可能引发的一些问题。</span></p><h2><a name="version-3.3.0" class="md-header-anchor"></a><span>Version 3.3.0</span></h2><p><span>发布时间:2018-11-22</span></p><p><span>更新内容:</span></p><p><span>1.视频问答新增单选多选类型。</span></p><p><span>2.新增网络检测功能。</span></p><p><span>3.原片实时播放流程处理。</span></p><p><span>4.修复了demo中的一些bug。</span></p><h2><a name="version-3.2.1" class="md-header-anchor"></a><span>Version 3.2.1</span></h2><p><span>发布时间:2018-10-26</span></p><p><span>更新内容:</span></p><p><span>1.SDK新增错误码。</span></p><p><span>2.修复了在iOS12下,导致程序crash的BUG。</span></p><h2><a name="version-3.2.0" class="md-header-anchor"></a><span>Version 3.2.0</span></h2><p><span>发布时间:2018-08-28</span></p><p><span>更新内容:</span></p><p><span>1.增加授权验证功能。</span></p><p><span>2.增加自定义超时时间功能。</span></p><h2><a name="version-3.1.8" class="md-header-anchor"></a><span>Version 3.1.8</span></h2><p><span>发布时间:2018-06-12</span></p><p><span>更新内容:</span></p><p><span>1.新增问答统计功能</span></p><h2><a name="version-3.1.7" class="md-header-anchor"></a><span>Version 3.1.7</span></h2><p><span>发布时间:2018-06-07</span></p><p><span>更新内容:</span></p><p><span>1.改善SDK帮助文档。</span></p><h2><a name="version-3.1.6" class="md-header-anchor"></a><span>Version 3.1.6</span></h2><p><span>发布时间:2018-05-22</span></p><p><span>更新内容:</span></p><p><span>1.增加字幕显示功能。</span></p><h2><a name="version-3.1.5" class="md-header-anchor"></a><span>Version 3.1.5</span></h2><p><span>发布时间:2018-05-15</span></p><p><span>更新内容:</span></p><p><span>1.新增问答图片显示功能。</span></p><h2><a name="version-3.1.4" class="md-header-anchor"></a><span>Version 3.1.4</span></h2><p><span>发布时间:2018-05-10</span></p><p><span>更新内容:</span></p><p><span>1.上传功能优化。</span></p></div>
<div id='write' class = 'is-mac'><h1><a name="%E6%9B%B4%E6%96%B0%E6%97%A5%E5%BF%97" class="md-header-anchor"></a><span>更新日志 </span></h1><h2><a name="version-4.2.2" class="md-header-anchor"></a><span>Version 4.2.2</span></h2><p><span>发布时间:2019-08-27</span></p><p><span>更新内容:</span></p><p><span>1.DWPlayerView新增AVPlayerLayer属性。</span></p><p><span>2.修复了不引入DWSDK.h可能导致编译报错的bug。</span></p><h2><a name="version-4.2.1" class="md-header-anchor"></a><span>Version 4.2.1</span></h2><p><span>发布时间:2019-08-19</span></p><p><span>更新内容:</span></p><p><span>1.支持视频后台上传。</span></p><p><span>2.优化下载流程。</span></p><h2><a name="version-4.2.0" class="md-header-anchor"></a><span>Version 4.2.0</span></h2><p><span>发布时间:2019-08-12</span></p><p><span>更新内容:</span></p><p><span>1.新增视频防录屏功能</span></p><p><span>2.新增视频动态水印</span></p><p><span>3.优化离线视频播放流程</span></p><p><span>4.优化下载暂停流程</span></p><h2><a name="version-4.1.0" class="md-header-anchor"></a><span>Version 4.1.0</span></h2><p><span>发布时间:2019-07-30</span></p><p><span>更新内容:</span></p><p><span>1.新增视频投屏功能。</span></p><p><span>2.优化视频问答流程。</span></p><p><span>3.将resource.bundle修改为DWResource.bundle防止引入冲突。 </span></p><h2><a name="version-4.0.3" class="md-header-anchor"></a><span>Version 4.0.3</span></h2><p><span>发布时间:2019-07-09</span></p><p><span>更新内容:</span></p><p><span>1.修复了备用线路地址输出不正确的bug。</span></p><h2><a name="version-4.0.2" class="md-header-anchor"></a><span>Version 4.0.2</span></h2><p><span>发布时间:2019-07-03</span></p><p><span>更新内容:</span></p><p><span>1.修复了课堂练习显示有问题的bug。</span></p><h2><a name="version-4.0.1" class="md-header-anchor"></a><span>Version 4.0.1</span></h2><p><span>发布时间:2019-07-02</span></p><p><span>更新内容:</span></p><p><span>1.课堂练习功能。</span></p><p><span>2.支持m3u8格式,缓存时长控制。</span></p><p><span>3.修复了iPhone7及plus机型下,m3u8播放链接可能会返回有误的问题。</span></p><h2><a name="version-4.0.0" class="md-header-anchor"></a><span>Version 4.0.0</span></h2><p><span>发布时间:2019-06-18</span></p><p><span>更新内容:</span></p><p><span>1.demo全新升级。</span></p><p><span>2.加密与非加密版本的demo合并。</span></p><p><span>3.支持Cocoapods方式集成。</span></p><p><span>4.优化SDK使用方式。</span></p><h2><a name="version-3.4.5" class="md-header-anchor"></a><span>Version 3.4.5</span></h2><p><span>发布时间:2019-06-14</span></p><p><span>更新内容:</span></p><p><span>1.视频问答优化。</span></p><p><span>2.广告播放流程优化。</span></p><p><span>3.修复了低版本下,播放音频时可能会导致闪退的问题。</span></p><h2><a name="version-3.4.4" class="md-header-anchor"></a><span>Version 3.4.4</span></h2><p><span>发布时间:2019-05-17</span></p><p><span>更新内容:</span></p><p><span>1.新增访客信息收集器功能。 </span><br/><span> </span><br/><span>2.解决了在一些特殊情况下会发生crash的bug。</span></p><h2><a name="version-3.4.3" class="md-header-anchor"></a><span>Version 3.4.3</span></h2><p><span>发布时间:2019-04-19</span></p><p><span>更新内容:</span></p><p><span>1.修复了播放离线音视频可能会crash的bug。</span></p><h2><a name="version-3.4.1" class="md-header-anchor"></a><span>Version 3.4.1</span></h2><p><span>发布时间:2019-04-02</span></p><p><span>更新内容:</span></p><p><span>1.优化了播放音频时,可能出现的缓冲时间过长的问题。</span></p><h2><a name="version-3.4.0" class="md-header-anchor"></a><span>Version 3.4.0</span></h2><p><span>发布时间:2019-03-06</span></p><p><span>更新内容:</span></p><p><span>1.新增音频DRM加密功能。</span></p><h2><a name="version-3.3.6" class="md-header-anchor"></a><span>Version 3.3.6</span></h2><p><span>发布时间:2019-02-27</span></p><p><span>更新内容:</span></p><p><span>1.修复了对同一DWDrmServer对象多次调用start/stop,引起crash的bug。</span></p><h2><a name="version-3.3.5" class="md-header-anchor"></a><span>Version 3.3.5</span></h2><p><span>发布时间:2019-02-14</span></p><p><span>更新内容:</span></p><p><span>1.视频批量下载功能。</span></p><p><span>2.修复了Demo界面上的一些显示bug。</span></p><h2><a name="version-3.3.4" class="md-header-anchor"></a><span>Version 3.3.4</span></h2><p><span>发布时间:2019-01-25</span></p><p><span>更新内容:</span></p><p><span>1.新增字幕切换功能。</span></p><h2><a name="version-3.3.3" class="md-header-anchor"></a><span>Version 3.3.3</span></h2><p><span>发布时间:2019-01-09</span></p><p><span>更新内容:</span></p><p><span>1.修复了iOS11.3之后,当原URL失效时,无法使用新URL继续下载的BUG。</span></p><h2><a name="version-3.3.2" class="md-header-anchor"></a><span>Version 3.3.2</span></h2><p><span>发布时间:2018-12-26</span></p><p><span>更新内容:</span></p><p><span>1.完善SDK内部播放出错处理机制。</span></p><p><span>2.优化了demo流程,播放失败时自动切换备用线路。</span></p><p><span>3.修复了demo中的一些bug。</span></p><h2><a name="version-3.3.1" class="md-header-anchor"></a><span>Version 3.3.1</span></h2><p><span>发布时间:2018-12-12</span></p><p><span>更新内容:</span></p><p><span>1.GIF功能整合,m3u8视频格式可以正常生成GIF。</span></p><p><span>2.修复了Drm模块在弱网下可能引发的一些问题。</span></p><h2><a name="version-3.3.0" class="md-header-anchor"></a><span>Version 3.3.0</span></h2><p><span>发布时间:2018-11-22</span></p><p><span>更新内容:</span></p><p><span>1.视频问答新增单选多选类型。</span></p><p><span>2.新增网络检测功能。</span></p><p><span>3.原片实时播放流程处理。</span></p><p><span>4.修复了demo中的一些bug。</span></p><h2><a name="version-3.2.1" class="md-header-anchor"></a><span>Version 3.2.1</span></h2><p><span>发布时间:2018-10-26</span></p><p><span>更新内容:</span></p><p><span>1.SDK新增错误码。</span></p><p><span>2.修复了在iOS12下,导致程序crash的BUG。</span></p><h2><a name="version-3.2.0" class="md-header-anchor"></a><span>Version 3.2.0</span></h2><p><span>发布时间:2018-08-28</span></p><p><span>更新内容:</span></p><p><span>1.增加授权验证功能。</span></p><p><span>2.增加自定义超时时间功能。</span></p><h2><a name="version-3.1.8" class="md-header-anchor"></a><span>Version 3.1.8</span></h2><p><span>发布时间:2018-06-12</span></p><p><span>更新内容:</span></p><p><span>1.新增问答统计功能</span></p><h2><a name="version-3.1.7" class="md-header-anchor"></a><span>Version 3.1.7</span></h2><p><span>发布时间:2018-06-07</span></p><p><span>更新内容:</span></p><p><span>1.改善SDK帮助文档。</span></p><h2><a name="version-3.1.6" class="md-header-anchor"></a><span>Version 3.1.6</span></h2><p><span>发布时间:2018-05-22</span></p><p><span>更新内容:</span></p><p><span>1.增加字幕显示功能。</span></p><h2><a name="version-3.1.5" class="md-header-anchor"></a><span>Version 3.1.5</span></h2><p><span>发布时间:2018-05-15</span></p><p><span>更新内容:</span></p><p><span>1.新增问答图片显示功能。</span></p><h2><a name="version-3.1.4" class="md-header-anchor"></a><span>Version 3.1.4</span></h2><p><span>发布时间:2018-05-10</span></p><p><span>更新内容:</span></p><p><span>1.上传功能优化。</span></p></div>
</body>
</html>
\ No newline at end of file
......@@ -9,6 +9,7 @@
@class DWVodVideoModel;
@class DWDownloadModel;
@class DWVideoQualityModel;
typedef NS_ENUM(NSUInteger, DWPlayerViewTimeOut) {
DWPlayerViewStatusTimeOutLoad,//加载超时
......@@ -64,6 +65,11 @@ typedef NS_ENUM(NSUInteger, DWPlayerViewLoadStyle) {
*/
@property(nonatomic,strong,readonly)AVPlayer *player;
/**
播放图层
*/
@property(nonatomic,strong,readonly)AVPlayerLayer *playerLayer;
/**
代理
*/
......
......@@ -26,5 +26,5 @@
#import "DWVodAdInfoModel.h"
//版本号
#define SDK_VERSION @"4.2.1"
#define SDK_VERSION @"4.2.2"
No preview for this file type
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment