Commit a71909f8 authored by Hanruisong's avatar Hanruisong
Browse files

升级到 4.8.0

1.SDK类型由.a升级为.framework。
2.优化播放流程,主线路播放失败时自动切换备用线路。
3.完善SDK注释。
parent 71d052cc
No preview for this file type
This diff is collapsed.
......@@ -12,7 +12,7 @@
<key>Demo.xcscheme_^#shared#^_</key>
<dict>
<key>orderHint</key>
<integer>0</integer>
<integer>1</integer>
</dict>
</dict>
<key>SuppressBuildableAutocreation</key>
......
......@@ -8,7 +8,6 @@
#import "DWLocalPlayViewController.h"
#import "DWVodPlayerView.h"
#import "DWPlayerSkinView.h"
@interface DWLocalPlayViewController ()<DWVodPlayerViewDelegate,DWPlayerSkinViewDelegate>
......
......@@ -8,9 +8,6 @@
#import "DWScreeningListViewController.h"
#import "DWScreeningTableViewCell.h"
#import "DWUPnPSearch.h"
#import "DWUPnPDevice.h"
#import "DWUPnPRenderer.h"
#import <AVKit/AVKit.h>
#import <MediaPlayer/MediaPlayer.h>
#import <CoreLocation/CoreLocation.h>
......
......@@ -4,7 +4,6 @@
#import "MJExtension.h"
#import <MobileCoreServices/MobileCoreServices.h>
#include <AssetsLibrary/AssetsLibrary.h>
#import "DWUploadSessionManager.h"
static NSString *const uploadsArray =@"uploadsArray";
......
......@@ -7,7 +7,6 @@
//
#import "DWVodPlayerSkinViewController.h"
#import "DWPlayerSkinView.h"
@interface DWVodPlayerSkinViewController ()<DWPlayerSkinViewDelegate>
......
......@@ -7,7 +7,6 @@
//
#import <Foundation/Foundation.h>
#import "DWVRLibrary.h"
@interface CustomDirectorFactory : NSObject<DW360DirectorFactory>
......
......@@ -7,7 +7,6 @@
//
#import <Foundation/Foundation.h>
#import "DWDownloadModel.h"
@interface DWOfflineModel : NSObject
......
......@@ -7,7 +7,6 @@
//
#import <UIKit/UIKit.h>
#import "DWPlayerView.h"
@class DWVodPlayerView;
NS_ASSUME_NONNULL_BEGIN
......
......@@ -17,7 +17,6 @@
#import "DWSubtitleView.h"
#import "DWMessageView.h"
#import <MediaPlayer/MediaPlayer.h>
#import "DWGIFManager.h"
#import "DWToastView.h"
#import "CustomDirectorFactory.h"
#import "DWGifRecordFinishView.h"
......@@ -3261,11 +3260,6 @@ static CGFloat barrageBgHeight = 40;
//加载失败
- (void)videoPlayer:(DWPlayerView *)playerView didFailWithError:(NSError *)error
{
if (self.videoModel && !self.playerView.isSpar) {
[self switchSparLine];
return;
}
//播放失败,延迟3秒进行重试
[NSObject cancelPreviousPerformRequestsWithTarget:self selector:@selector(playFailureRepeat) object:nil];
......
......@@ -8,9 +8,6 @@
#import "DWScreeningBgView.h"
#import "DWPlayerFuncBgView.h"
#import "DWUPnPRenderer.h"
#import "DWUPnPResponseDelegate.h"
#import "DWUPnPSubscription.h"
@interface DWScreeningBgView () <DWUPnPResponseDelegate,DWUPnPSubscriptionDelegate>
......
......@@ -7,7 +7,6 @@
//
#import <UIKit/UIKit.h>
#import "DWUPnPDevice.h"
NS_ASSUME_NONNULL_BEGIN
......
#import <UIKit/UIKit.h>
#import "DWUploadModel.h"
@interface DWUploadTableViewCell : UITableViewCell
......
#import <UIKit/UIKit.h>
#import "DWSDK.h"
//#import "DWVodPlayerView.h"
@class DWVodPlayerView;
@interface DWAppDelegate : UIResponder <UIApplicationDelegate>
......
#import "DWAppDelegate.h"
#import "DWDownloadSessionManager.h"
#import "DWMainViewController.h"
#import "DWNavigationViewController.h"
#import "DWOfflineModel.h"
......
......@@ -43,7 +43,7 @@
<string>使用期间允许定位</string>
<key>NSMicrophoneUsageDescription</key>
<string>请求访问麦克风</string>
<key>NSPhotoLibraryUsageDescription</key>
<key>NSPhotoLibraryAddUsageDescription</key>
<string>我们需要访问您的相册</string>
<key>UIBackgroundModes</key>
<array>
......
......@@ -48,7 +48,8 @@
#import "Masonry.h"
#import "DWTools.h"
#import "DWSDK.h"
#import <CCVodSDK/CCVodSDK.h>
#import "SDInternalMacros.h"
#import "MBProgressHUD.h"
#import "ObjectExtension.h"
......
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