Commit 10ac6703 authored by Han Ruisong's avatar Han Ruisong
Browse files

升级到 4.2.5

1.修复了视频文件上传时,SDK异常输出失败的bug。
2.优化下载流程,现在可以对等待中的下载任务进行暂停/继续下载操作了。
parent 3a85594e
No preview for this file type
......@@ -9,9 +9,6 @@
/* Begin PBXBuildFile section */
0412FA8E2266C12600D8E6C1 /* DWPlayerSettingView.m in Sources */ = {isa = PBXBuildFile; fileRef = 0412FA8D2266C12600D8E6C1 /* DWPlayerSettingView.m */; };
0412FA912266D0D800D8E6C1 /* DWTableChooseModel.m in Sources */ = {isa = PBXBuildFile; fileRef = 0412FA902266D0D800D8E6C1 /* DWTableChooseModel.m */; };
04147A96237D4CA50091F810 /* vrlibraw.bundle in Resources */ = {isa = PBXBuildFile; fileRef = 04147A7A237D4CA40091F810 /* vrlibraw.bundle */; };
04147A97237D4CA50091F810 /* libCCSDK.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 04147A87237D4CA40091F810 /* libCCSDK.a */; };
04147A98237D4CA50091F810 /* DWResource.bundle in Resources */ = {isa = PBXBuildFile; fileRef = 04147A8F237D4CA40091F810 /* DWResource.bundle */; };
0425D5B122F2B269002C5195 /* DWUploadWaterMarkSettingView.m in Sources */ = {isa = PBXBuildFile; fileRef = 0425D5B022F2B269002C5195 /* DWUploadWaterMarkSettingView.m */; };
043441FF225EF2BB003F7EC1 /* CoreServices.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 043441FE225EF2BB003F7EC1 /* CoreServices.framework */; };
04344215225F0EDE003F7EC1 /* DWTools.m in Sources */ = {isa = PBXBuildFile; fileRef = 04344210225F0EDD003F7EC1 /* DWTools.m */; };
......@@ -99,6 +96,9 @@
047CE82722B8DBD500D87AAF /* DWExercisesFinishView.m in Sources */ = {isa = PBXBuildFile; fileRef = 047CE82122B8DBD400D87AAF /* DWExercisesFinishView.m */; };
047CE82822B8DBD500D87AAF /* DWExercisesAlertView.m in Sources */ = {isa = PBXBuildFile; fileRef = 047CE82222B8DBD400D87AAF /* DWExercisesAlertView.m */; };
047CE82922B8DBD500D87AAF /* DWExercisesQuestionView.m in Sources */ = {isa = PBXBuildFile; fileRef = 047CE82322B8DBD400D87AAF /* DWExercisesQuestionView.m */; };
047D0E232397509B00CF5F94 /* vrlibraw.bundle in Resources */ = {isa = PBXBuildFile; fileRef = 047D0E072397509B00CF5F94 /* vrlibraw.bundle */; };
047D0E242397509B00CF5F94 /* libCCSDK.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 047D0E142397509B00CF5F94 /* libCCSDK.a */; };
047D0E252397509B00CF5F94 /* DWResource.bundle in Resources */ = {isa = PBXBuildFile; fileRef = 047D0E1C2397509B00CF5F94 /* DWResource.bundle */; };
0483317922B34ED7000E0BF9 /* icon_gif_save@2x.png in Resources */ = {isa = PBXBuildFile; fileRef = 0483317722B34ED7000E0BF9 /* icon_gif_save@2x.png */; };
0483317A22B34ED7000E0BF9 /* icon_gif_save@3x.png in Resources */ = {isa = PBXBuildFile; fileRef = 0483317822B34ED7000E0BF9 /* icon_gif_save@3x.png */; };
048AD12822CDCE83008C8911 /* libxml2.tbd in Frameworks */ = {isa = PBXBuildFile; fileRef = 048AD12722CDCE83008C8911 /* libxml2.tbd */; };
......@@ -310,40 +310,6 @@
0412FA8D2266C12600D8E6C1 /* DWPlayerSettingView.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = DWPlayerSettingView.m; sourceTree = "<group>"; };
0412FA8F2266D0D800D8E6C1 /* DWTableChooseModel.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = DWTableChooseModel.h; sourceTree = "<group>"; };
0412FA902266D0D800D8E6C1 /* DWTableChooseModel.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = DWTableChooseModel.m; sourceTree = "<group>"; };
04147A74237D4CA40091F810 /* DWExt.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DWExt.h; sourceTree = "<group>"; };
04147A75237D4CA40091F810 /* DWVRHeader.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DWVRHeader.h; sourceTree = "<group>"; };
04147A76237D4CA40091F810 /* DWDownloadSessionManager+File.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "DWDownloadSessionManager+File.h"; sourceTree = "<group>"; };
04147A77237D4CA40091F810 /* DWErrorCode.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DWErrorCode.h; sourceTree = "<group>"; };
04147A78237D4CA40091F810 /* NSURLSession+DWCorrectedResumeData.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "NSURLSession+DWCorrectedResumeData.h"; sourceTree = "<group>"; };
04147A79237D4CA40091F810 /* DWAdInfo.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DWAdInfo.h; sourceTree = "<group>"; };
04147A7A237D4CA40091F810 /* vrlibraw.bundle */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.plug-in"; path = vrlibraw.bundle; sourceTree = "<group>"; };
04147A7B237D4CA40091F810 /* DWBatchDownloadUtility.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DWBatchDownloadUtility.h; sourceTree = "<group>"; };
04147A7C237D4CA40091F810 /* DWLog.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DWLog.h; sourceTree = "<group>"; };
04147A7D237D4CA40091F810 /* DWVideoDataAdapter.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DWVideoDataAdapter.h; sourceTree = "<group>"; };
04147A7E237D4CA40091F810 /* DWGIFManager.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DWGIFManager.h; sourceTree = "<group>"; };
04147A7F237D4CA40091F810 /* DWVodVideoModel.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DWVodVideoModel.h; sourceTree = "<group>"; };
04147A80237D4CA40091F810 /* DWUPnPDevice.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DWUPnPDevice.h; sourceTree = "<group>"; };
04147A81237D4CA40091F810 /* DWSDK.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DWSDK.h; sourceTree = "<group>"; };
04147A82237D4CA40091F810 /* DWUPnPRenderer.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DWUPnPRenderer.h; sourceTree = "<group>"; };
04147A83237D4CA40091F810 /* DWDownloadSessionManager.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DWDownloadSessionManager.h; sourceTree = "<group>"; };
04147A84237D4CA40091F810 /* DWDownloadUtility.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DWDownloadUtility.h; sourceTree = "<group>"; };
04147A85237D4CA40091F810 /* DWUPnPResponseDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DWUPnPResponseDelegate.h; sourceTree = "<group>"; };
04147A86237D4CA40091F810 /* DWUPnPAVPositionInfo.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DWUPnPAVPositionInfo.h; sourceTree = "<group>"; };
04147A87237D4CA40091F810 /* libCCSDK.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; path = libCCSDK.a; sourceTree = "<group>"; };
04147A88237D4CA40091F810 /* DWDownloadModel.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DWDownloadModel.h; sourceTree = "<group>"; };
04147A89237D4CA40091F810 /* DWPlayerSkinView.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DWPlayerSkinView.h; sourceTree = "<group>"; };
04147A8A237D4CA40091F810 /* DWPlayerView.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DWPlayerView.h; sourceTree = "<group>"; };
04147A8B237D4CA40091F810 /* DWUPnPSubscription.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DWUPnPSubscription.h; sourceTree = "<group>"; };
04147A8C237D4CA40091F810 /* DWUPnPSearch.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DWUPnPSearch.h; sourceTree = "<group>"; };
04147A8D237D4CA40091F810 /* DWVRLibrary.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DWVRLibrary.h; sourceTree = "<group>"; };
04147A8E237D4CA40091F810 /* DWUploadModel.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DWUploadModel.h; sourceTree = "<group>"; };
04147A8F237D4CA40091F810 /* DWResource.bundle */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.plug-in"; path = DWResource.bundle; sourceTree = "<group>"; };
04147A90237D4CA40091F810 /* DWVodAdInfoModel.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DWVodAdInfoModel.h; sourceTree = "<group>"; };
04147A91237D4CA40091F810 /* DWPlayInfo.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DWPlayInfo.h; sourceTree = "<group>"; };
04147A92237D4CA40091F810 /* DW360Program.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DW360Program.h; sourceTree = "<group>"; };
04147A93237D4CA40091F810 /* DW360Director.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DW360Director.h; sourceTree = "<group>"; };
04147A94237D4CA40091F810 /* DWVideoCompressController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DWVideoCompressController.h; sourceTree = "<group>"; };
04147A95237D4CA40091F810 /* DWUploadSessionManager.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DWUploadSessionManager.h; sourceTree = "<group>"; };
0425D5AF22F2B269002C5195 /* DWUploadWaterMarkSettingView.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = DWUploadWaterMarkSettingView.h; sourceTree = "<group>"; };
0425D5B022F2B269002C5195 /* DWUploadWaterMarkSettingView.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = DWUploadWaterMarkSettingView.m; sourceTree = "<group>"; };
043441FE225EF2BB003F7EC1 /* CoreServices.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreServices.framework; path = System/Library/Frameworks/CoreServices.framework; sourceTree = SDKROOT; };
......@@ -506,6 +472,40 @@
047CE82322B8DBD400D87AAF /* DWExercisesQuestionView.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = DWExercisesQuestionView.m; sourceTree = "<group>"; };
047CE82422B8DBD400D87AAF /* DWExercisesView.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DWExercisesView.h; sourceTree = "<group>"; };
047CE82522B8DBD400D87AAF /* DWExercisesFinishView.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DWExercisesFinishView.h; sourceTree = "<group>"; };
047D0E012397509B00CF5F94 /* DWExt.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DWExt.h; sourceTree = "<group>"; };
047D0E022397509B00CF5F94 /* DWVRHeader.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DWVRHeader.h; sourceTree = "<group>"; };
047D0E032397509B00CF5F94 /* DWDownloadSessionManager+File.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "DWDownloadSessionManager+File.h"; sourceTree = "<group>"; };
047D0E042397509B00CF5F94 /* DWErrorCode.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DWErrorCode.h; sourceTree = "<group>"; };
047D0E052397509B00CF5F94 /* NSURLSession+DWCorrectedResumeData.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "NSURLSession+DWCorrectedResumeData.h"; sourceTree = "<group>"; };
047D0E062397509B00CF5F94 /* DWAdInfo.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DWAdInfo.h; sourceTree = "<group>"; };
047D0E072397509B00CF5F94 /* vrlibraw.bundle */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.plug-in"; path = vrlibraw.bundle; sourceTree = "<group>"; };
047D0E082397509B00CF5F94 /* DWBatchDownloadUtility.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DWBatchDownloadUtility.h; sourceTree = "<group>"; };
047D0E092397509B00CF5F94 /* DWLog.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DWLog.h; sourceTree = "<group>"; };
047D0E0A2397509B00CF5F94 /* DWVideoDataAdapter.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DWVideoDataAdapter.h; sourceTree = "<group>"; };
047D0E0B2397509B00CF5F94 /* DWGIFManager.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DWGIFManager.h; sourceTree = "<group>"; };
047D0E0C2397509B00CF5F94 /* DWVodVideoModel.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DWVodVideoModel.h; sourceTree = "<group>"; };
047D0E0D2397509B00CF5F94 /* DWUPnPDevice.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DWUPnPDevice.h; sourceTree = "<group>"; };
047D0E0E2397509B00CF5F94 /* DWSDK.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DWSDK.h; sourceTree = "<group>"; };
047D0E0F2397509B00CF5F94 /* DWUPnPRenderer.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DWUPnPRenderer.h; sourceTree = "<group>"; };
047D0E102397509B00CF5F94 /* DWDownloadSessionManager.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DWDownloadSessionManager.h; sourceTree = "<group>"; };
047D0E112397509B00CF5F94 /* DWDownloadUtility.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DWDownloadUtility.h; sourceTree = "<group>"; };
047D0E122397509B00CF5F94 /* DWUPnPResponseDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DWUPnPResponseDelegate.h; sourceTree = "<group>"; };
047D0E132397509B00CF5F94 /* DWUPnPAVPositionInfo.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DWUPnPAVPositionInfo.h; sourceTree = "<group>"; };
047D0E142397509B00CF5F94 /* libCCSDK.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; path = libCCSDK.a; sourceTree = "<group>"; };
047D0E152397509B00CF5F94 /* DWDownloadModel.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DWDownloadModel.h; sourceTree = "<group>"; };
047D0E162397509B00CF5F94 /* DWPlayerSkinView.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DWPlayerSkinView.h; sourceTree = "<group>"; };
047D0E172397509B00CF5F94 /* DWPlayerView.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DWPlayerView.h; sourceTree = "<group>"; };
047D0E182397509B00CF5F94 /* DWUPnPSubscription.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DWUPnPSubscription.h; sourceTree = "<group>"; };
047D0E192397509B00CF5F94 /* DWUPnPSearch.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DWUPnPSearch.h; sourceTree = "<group>"; };
047D0E1A2397509B00CF5F94 /* DWVRLibrary.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DWVRLibrary.h; sourceTree = "<group>"; };
047D0E1B2397509B00CF5F94 /* DWUploadModel.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DWUploadModel.h; sourceTree = "<group>"; };
047D0E1C2397509B00CF5F94 /* DWResource.bundle */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.plug-in"; path = DWResource.bundle; sourceTree = "<group>"; };
047D0E1D2397509B00CF5F94 /* DWVodAdInfoModel.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DWVodAdInfoModel.h; sourceTree = "<group>"; };
047D0E1E2397509B00CF5F94 /* DWPlayInfo.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DWPlayInfo.h; sourceTree = "<group>"; };
047D0E1F2397509B00CF5F94 /* DW360Program.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DW360Program.h; sourceTree = "<group>"; };
047D0E202397509B00CF5F94 /* DW360Director.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DW360Director.h; sourceTree = "<group>"; };
047D0E212397509B00CF5F94 /* DWVideoCompressController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DWVideoCompressController.h; sourceTree = "<group>"; };
047D0E222397509B00CF5F94 /* DWUploadSessionManager.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DWUploadSessionManager.h; sourceTree = "<group>"; };
0483317722B34ED7000E0BF9 /* icon_gif_save@2x.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "icon_gif_save@2x.png"; sourceTree = "<group>"; };
0483317822B34ED7000E0BF9 /* icon_gif_save@3x.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "icon_gif_save@3x.png"; sourceTree = "<group>"; };
048AD12722CDCE83008C8911 /* libxml2.tbd */ = {isa = PBXFileReference; lastKnownFileType = "sourcecode.text-based-dylib-definition"; name = libxml2.tbd; path = usr/lib/libxml2.tbd; sourceTree = SDKROOT; };
......@@ -787,7 +787,7 @@
043441FF225EF2BB003F7EC1 /* CoreServices.framework in Frameworks */,
352CBDD91FD6980C00D24715 /* AudioToolbox.framework in Frameworks */,
352CBDD71FD697E800D24715 /* MediaPlayer.framework in Frameworks */,
04147A97237D4CA50091F810 /* libCCSDK.a in Frameworks */,
047D0E242397509B00CF5F94 /* libCCSDK.a in Frameworks */,
B88562A41DED1AC8008D1763 /* SystemConfiguration.framework in Frameworks */,
B57CC7C018E2E581001A1696 /* AVFoundation.framework in Frameworks */,
B57CC7BE18E2E575001A1696 /* CoreLocation.framework in Frameworks */,
......@@ -801,47 +801,6 @@
/* End PBXFrameworksBuildPhase section */
/* Begin PBXGroup section */
04147A73237D4CA40091F810 /* SDK */ = {
isa = PBXGroup;
children = (
04147A74237D4CA40091F810 /* DWExt.h */,
04147A75237D4CA40091F810 /* DWVRHeader.h */,
04147A76237D4CA40091F810 /* DWDownloadSessionManager+File.h */,
04147A77237D4CA40091F810 /* DWErrorCode.h */,
04147A78237D4CA40091F810 /* NSURLSession+DWCorrectedResumeData.h */,
04147A79237D4CA40091F810 /* DWAdInfo.h */,
04147A7A237D4CA40091F810 /* vrlibraw.bundle */,
04147A7B237D4CA40091F810 /* DWBatchDownloadUtility.h */,
04147A7C237D4CA40091F810 /* DWLog.h */,
04147A7D237D4CA40091F810 /* DWVideoDataAdapter.h */,
04147A7E237D4CA40091F810 /* DWGIFManager.h */,
04147A7F237D4CA40091F810 /* DWVodVideoModel.h */,
04147A80237D4CA40091F810 /* DWUPnPDevice.h */,
04147A81237D4CA40091F810 /* DWSDK.h */,
04147A82237D4CA40091F810 /* DWUPnPRenderer.h */,
04147A83237D4CA40091F810 /* DWDownloadSessionManager.h */,
04147A84237D4CA40091F810 /* DWDownloadUtility.h */,
04147A85237D4CA40091F810 /* DWUPnPResponseDelegate.h */,
04147A86237D4CA40091F810 /* DWUPnPAVPositionInfo.h */,
04147A87237D4CA40091F810 /* libCCSDK.a */,
04147A88237D4CA40091F810 /* DWDownloadModel.h */,
04147A89237D4CA40091F810 /* DWPlayerSkinView.h */,
04147A8A237D4CA40091F810 /* DWPlayerView.h */,
04147A8B237D4CA40091F810 /* DWUPnPSubscription.h */,
04147A8C237D4CA40091F810 /* DWUPnPSearch.h */,
04147A8D237D4CA40091F810 /* DWVRLibrary.h */,
04147A8E237D4CA40091F810 /* DWUploadModel.h */,
04147A8F237D4CA40091F810 /* DWResource.bundle */,
04147A90237D4CA40091F810 /* DWVodAdInfoModel.h */,
04147A91237D4CA40091F810 /* DWPlayInfo.h */,
04147A92237D4CA40091F810 /* DW360Program.h */,
04147A93237D4CA40091F810 /* DW360Director.h */,
04147A94237D4CA40091F810 /* DWVideoCompressController.h */,
04147A95237D4CA40091F810 /* DWUploadSessionManager.h */,
);
path = SDK;
sourceTree = "<group>";
};
0434420D225F0EDD003F7EC1 /* Classes */ = {
isa = PBXGroup;
children = (
......@@ -1163,6 +1122,47 @@
path = Exercises;
sourceTree = "<group>";
};
047D0E002397509B00CF5F94 /* SDK */ = {
isa = PBXGroup;
children = (
047D0E012397509B00CF5F94 /* DWExt.h */,
047D0E022397509B00CF5F94 /* DWVRHeader.h */,
047D0E032397509B00CF5F94 /* DWDownloadSessionManager+File.h */,
047D0E042397509B00CF5F94 /* DWErrorCode.h */,
047D0E052397509B00CF5F94 /* NSURLSession+DWCorrectedResumeData.h */,
047D0E062397509B00CF5F94 /* DWAdInfo.h */,
047D0E072397509B00CF5F94 /* vrlibraw.bundle */,
047D0E082397509B00CF5F94 /* DWBatchDownloadUtility.h */,
047D0E092397509B00CF5F94 /* DWLog.h */,
047D0E0A2397509B00CF5F94 /* DWVideoDataAdapter.h */,
047D0E0B2397509B00CF5F94 /* DWGIFManager.h */,
047D0E0C2397509B00CF5F94 /* DWVodVideoModel.h */,
047D0E0D2397509B00CF5F94 /* DWUPnPDevice.h */,
047D0E0E2397509B00CF5F94 /* DWSDK.h */,
047D0E0F2397509B00CF5F94 /* DWUPnPRenderer.h */,
047D0E102397509B00CF5F94 /* DWDownloadSessionManager.h */,
047D0E112397509B00CF5F94 /* DWDownloadUtility.h */,
047D0E122397509B00CF5F94 /* DWUPnPResponseDelegate.h */,
047D0E132397509B00CF5F94 /* DWUPnPAVPositionInfo.h */,
047D0E142397509B00CF5F94 /* libCCSDK.a */,
047D0E152397509B00CF5F94 /* DWDownloadModel.h */,
047D0E162397509B00CF5F94 /* DWPlayerSkinView.h */,
047D0E172397509B00CF5F94 /* DWPlayerView.h */,
047D0E182397509B00CF5F94 /* DWUPnPSubscription.h */,
047D0E192397509B00CF5F94 /* DWUPnPSearch.h */,
047D0E1A2397509B00CF5F94 /* DWVRLibrary.h */,
047D0E1B2397509B00CF5F94 /* DWUploadModel.h */,
047D0E1C2397509B00CF5F94 /* DWResource.bundle */,
047D0E1D2397509B00CF5F94 /* DWVodAdInfoModel.h */,
047D0E1E2397509B00CF5F94 /* DWPlayInfo.h */,
047D0E1F2397509B00CF5F94 /* DW360Program.h */,
047D0E202397509B00CF5F94 /* DW360Director.h */,
047D0E212397509B00CF5F94 /* DWVideoCompressController.h */,
047D0E222397509B00CF5F94 /* DWUploadSessionManager.h */,
);
path = SDK;
sourceTree = "<group>";
};
049FEF29225EEE9F00D944C5 /* Plugins */ = {
isa = PBXGroup;
children = (
......@@ -1530,7 +1530,7 @@
isa = PBXGroup;
children = (
044C66A122D46DAE0032396F /* Demo.entitlements */,
04147A73237D4CA40091F810 /* SDK */,
047D0E002397509B00CF5F94 /* SDK */,
0434420D225F0EDD003F7EC1 /* Classes */,
B547EC5818E033FB00BC980C /* DWAppDelegate.h */,
B547EC5918E033FB00BC980C /* DWAppDelegate.m */,
......@@ -1669,7 +1669,7 @@
04FFA9F622647C84008C2713 /* icon_play_more@3x.png in Resources */,
04D60ED722719B9C0009C572 /* icon_play_vr_display_normal@2x.png in Resources */,
04FFA9EA22647579008C2713 /* icon_play_full@2x.png in Resources */,
04147A96237D4CA50091F810 /* vrlibraw.bundle in Resources */,
047D0E232397509B00CF5F94 /* vrlibraw.bundle in Resources */,
04AB4A3B22B1F22A00BB9BF9 /* icon_exercises_answer_f_select@3x.png in Resources */,
04EB65DD226D9B6200FAB532 /* icon_setting_sound_low@2x.png in Resources */,
B547EC5418E033FB00BC980C /* InfoPlist.strings in Resources */,
......@@ -1712,7 +1712,7 @@
04FFA9F822647C84008C2713 /* icon_play_gif_normal@3x.png in Resources */,
04F0B79F22602D8F0097C3CB /* icon_return_black@2x.png in Resources */,
043D018722B76F1C008589DA /* icon_exercises_statistics_error@3x.png in Resources */,
04147A98237D4CA50091F810 /* DWResource.bundle in Resources */,
047D0E252397509B00CF5F94 /* DWResource.bundle in Resources */,
04FFA9D622647579008C2713 /* icon_play_return@3x.png in Resources */,
04D7188B22D45BDC002D41BD /* icon_screen_horizontal@2x.png in Resources */,
04AB4A3922B1F22A00BB9BF9 /* icon_exercises_answer_g_select@3x.png in Resources */,
......
......@@ -4,5 +4,7 @@
<dict>
<key>BuildSystemType</key>
<string>Original</string>
<key>PreviewsEnabled</key>
<false/>
</dict>
</plist>
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>BuildLocationStyle</key>
<string>UseAppPreferences</string>
<key>CustomBuildLocationType</key>
<string>RelativeToDerivedData</string>
<key>DerivedDataLocationStyle</key>
<string>Default</string>
<key>IssueFilterStyle</key>
<string>ShowActiveSchemeOnly</string>
<key>LiveSourceIssuesEnabled</key>
<true/>
</dict>
</plist>
......@@ -3,4 +3,22 @@
uuid = "D493E4A5-FF32-4C5D-B61B-0D88D4BD1AD4"
type = "1"
version = "2.0">
<Breakpoints>
<BreakpointProxy
BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint">
<BreakpointContent
uuid = "5B383331-5039-427A-B147-3C0E3E8DEECB"
shouldBeEnabled = "No"
ignoreCount = "0"
continueAfterRunningActions = "No"
filePath = "Demo/Classes/DWDownloadManagerViewController.m"
startingColumnNumber = "9223372036854775807"
endingColumnNumber = "9223372036854775807"
startingLineNumber = "33"
endingLineNumber = "33"
landmarkName = "-viewDidLoad"
landmarkType = "7">
</BreakpointContent>
</BreakpointProxy>
</Breakpoints>
</Bucket>
......@@ -256,13 +256,14 @@
if (self.index == 0) {
//未完成
if (downloadModel.state == DWDownloadStateRunning) {
if (downloadModel.state == DWDownloadStateRunning || downloadModel.state == DWDownloadStateReadying) {
[self.manager suspendWithDownloadModel:downloadModel];
}else{
//判断下载链接是否超时
if ([self.manager isValidateURLWithDownloadModel:downloadModel]) {
NSLog(@"url可用");
[self.manager resumeWithDownloadModel:downloadModel];
// [self.manager startWithDownloadModel:downloadModel];
}else{
NSLog(@"url不可用");
//重新获取下载路径
......
......@@ -93,8 +93,8 @@
{
//请自行替换数据
NSArray * videos = @[];
NSArray * videos = @[];
for (int i = 0; i < videos.count; i++) {
DWVodModel * vodModel = [[DWVodModel alloc]init];
vodModel.videoId = [videos objectAtIndex:i];
......
......@@ -57,7 +57,7 @@
}
- (void)uploadAction:(UIBarButtonItem *)item
{
{
if (self.userIdTextField.text.length == 0) {
[@"请输入User ID" showAlert];
return;
......
......@@ -4,6 +4,7 @@
#import "DWNavigationViewController.h"
#import "DWOfflineModel.h"
#import "MJExtension.h"
#import <Photos/Photos.h>
#define DWUploadItemPlistFilename @"uploadItems.plist"
......@@ -34,6 +35,9 @@
//后台下载设置
[[DWDownloadSessionManager manager] configureBackroundSession];
//设置最大下载并发数,默认不设置
// [DWDownloadSessionManager manager].maxDownloadCount = 2;
// [DWDownloadSessionManager manager].isBatchDownload = NO;
self.window = [[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]];
self.window.backgroundColor = [UIColor whiteColor];
......
......@@ -24,7 +24,7 @@
-(instancetype)init
{
if (self == [super init]) {
self.DWAccount_userId = @"391E6E3340A00767";
self.DWAccount_apikey = @"T8WdOUuvFEiOsou1xjDr4U73v12M7iNa";
......
......@@ -43,10 +43,6 @@
<string>使用期间允许定位</string>
<key>NSMicrophoneUsageDescription</key>
<string>请求访问麦克风</string>
<key>NSPhotoLibraryAddUsageDescription</key>
<string>是否允许此app使用相册?</string>
<key>NSPhotoLibraryUsageDescription</key>
<string>请求访问相册</string>
<key>UIBackgroundModes</key>
<array>
<string>audio</string>
......@@ -65,5 +61,7 @@
</array>
<key>UIViewControllerBasedStatusBarAppearance</key>
<false/>
<key>NSPhotoLibraryUsageDescription</key>
<string>我们需要访问您的相册</string>
</dict>
</plist>
......@@ -7,6 +7,7 @@
//
#import <Foundation/Foundation.h>
@class DWVodVideoModel;
NS_ASSUME_NONNULL_BEGIN
......
......@@ -50,6 +50,8 @@ typedef NS_ENUM(NSUInteger, DWSDK_SERVICE_ERROR) {
ERROR_DOWNLOAD_UNAVAILABLE = 3000 , //网络资源不存在
ERROR_DOWNLOAD_UNAUTHORIZED = 3001 , //未获得下载授权
ERROR_DOWNLOAD_UNSUPPORTM3U8 = 3002 , //暂不支持m3u8视频格式下载
ERROR_DOWNLOAD_MORETHANMAXCOUNT = 3040, //超过下载最大并发数
ERROR_DOWNLOAD_ALREADYFAIL = 3050 , //该任务已失败,请重新下载
ERROR_DOWNLOAD_MOVEFILE = 3077 , //下载完成移动文件失败
ERROR_BATCHDOWNLOAD_NOTMATCH = 3100 , //批量下载参数有误
......
......@@ -26,5 +26,5 @@
#import "DWVodAdInfoModel.h"
//版本号
#define SDK_VERSION @"4.2.4"
#define SDK_VERSION @"4.2.5"
No preview for this file type
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -500,6 +500,6 @@ header, .context-menu, .megamenu-content, footer{
</style>
</head>
<body class='typora-export' >
<div id='write' class = 'is-mac'><h1><a name="更新日志" class="md-header-anchor"></a><span>更新日志 </span></h1><h2><a name="version-424" class="md-header-anchor"></a><span>Version 4.2.4</span></h2><p><span>发布时间:2019-11-14</span></p><p><span>更新内容:</span></p><p><span>1.demo页面逻辑优化。</span></p><p><span>2.SDK上传功能逻辑优化。</span></p><p><span>3.DWPlayInfo新增取消网络请求方法。</span></p><p><span>4.修复了4.2.3版本在低版本Xcode编译报错的问题。</span></p><h2><a name="version-423" class="md-header-anchor"></a><span>Version 4.2.3</span></h2><p><span>发布时间:2019-10-10</span></p><p><span>更新内容:</span></p><p><span>1.修复了iOS13下,播放本地视频可能会导致内存异常上涨的bug。</span></p><p><span>2.iOS13适配。</span></p><h2><a name="version-422" 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-421" 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-420" 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-410" 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-403" 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-402" 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-401" 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-400" 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-345" 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-344" 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-343" 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-341" 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-340" 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-336" 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-335" 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-334" 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-333" 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-332" 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-331" 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-330" 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-321" 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-320" 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-318" 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-317" 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-316" 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-315" 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-314" 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="更新日志" class="md-header-anchor"></a><span>更新日志 </span></h1><h2><a name="version-425" class="md-header-anchor"></a><span>Version 4.2.5</span></h2><p><span>发布时间:2019-12-04</span></p><p><span>更新内容:</span></p><p><span>1.修复了视频文件上传时,SDK异常输出失败的bug。</span></p><p><span>2.优化下载流程,现在可以对等待中的下载任务进行暂停/继续下载操作了。</span></p><h2><a name="version-424" class="md-header-anchor"></a><span>Version 4.2.4</span></h2><p><span>发布时间:2019-11-14</span></p><p><span>更新内容:</span></p><p><span>1.demo页面逻辑优化。</span></p><p><span>2.SDK上传功能逻辑优化。</span></p><p><span>3.DWPlayInfo新增取消网络请求方法。</span></p><p><span>4.修复了4.2.3版本在低版本Xcode编译报错的问题。</span></p><h2><a name="version-423" class="md-header-anchor"></a><span>Version 4.2.3</span></h2><p><span>发布时间:2019-10-10</span></p><p><span>更新内容:</span></p><p><span>1.修复了iOS13下,播放本地视频可能会导致内存异常上涨的bug。</span></p><p><span>2.iOS13适配。</span></p><h2><a name="version-422" 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-421" 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-420" 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-410" 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-403" 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-402" 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-401" 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-400" 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-345" 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-344" 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-343" 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-341" 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-340" 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-336" 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-335" 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-334" 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-333" 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-332" 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-331" 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-330" 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-321" 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-320" 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-318" 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-317" 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-316" 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-315" 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-314" 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
......@@ -7,6 +7,7 @@
//
#import <Foundation/Foundation.h>
@class DWVodVideoModel;
NS_ASSUME_NONNULL_BEGIN
......
......@@ -50,6 +50,8 @@ typedef NS_ENUM(NSUInteger, DWSDK_SERVICE_ERROR) {
ERROR_DOWNLOAD_UNAVAILABLE = 3000 , //网络资源不存在
ERROR_DOWNLOAD_UNAUTHORIZED = 3001 , //未获得下载授权
ERROR_DOWNLOAD_UNSUPPORTM3U8 = 3002 , //暂不支持m3u8视频格式下载
ERROR_DOWNLOAD_MORETHANMAXCOUNT = 3040, //超过下载最大并发数
ERROR_DOWNLOAD_ALREADYFAIL = 3050 , //该任务已失败,请重新下载
ERROR_DOWNLOAD_MOVEFILE = 3077 , //下载完成移动文件失败
ERROR_BATCHDOWNLOAD_NOTMATCH = 3100 , //批量下载参数有误
......
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