Commit d021faa7 authored by 郭伟's avatar 郭伟
Browse files

4.15.7

parent 41cba7d9
No preview for this file type
......@@ -2,8 +2,6 @@
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>BuildSystemType</key>
<string>Original</string>
<key>PreviewsEnabled</key>
<false/>
</dict>
......
......@@ -35,7 +35,7 @@ typedef enum : NSUInteger {
@property(nonatomic,assign)BOOL isLock;
@property (nonatomic, strong) DWPlayInfo * playInfo;
//@property (nonatomic, strong) DWPlayInfo * playInfo;
@end
......@@ -76,24 +76,24 @@ typedef enum : NSUInteger {
__weak typeof(self) weakSelf = self;
DWPlayInfo * playInfo = [[DWPlayInfo alloc]initWithUserId:[DWConfigurationManager sharedInstance].DWAccount_userId andVideoId:videoId key:[DWConfigurationManager sharedInstance].DWAccount_apikey hlsSupport:@"1"];
_playInfo = playInfo;
_playInfo.timeoutSeconds = 30;
playInfo.timeoutSeconds = 30;
//音频 + 视频数据,这里仅做示范,可根据自己项目业务逻辑来调整
//开启授权验证功能传入
_playInfo.verificationCode = [DWConfigurationManager sharedInstance].verification;
playInfo.verificationCode = [DWConfigurationManager sharedInstance].verification;
//客户端用户id,选填
// playInfo.roleId = @"";
_playInfo.isAllow = NO;//yes:拖拽不显示答题器
_playInfo.finishBlock = ^(DWVodVideoModel *vodVideo) {
playInfo.mediatype = @"0";
playInfo.isAllow = NO;//yes:拖拽不显示答题器
playInfo.finishBlock = ^(DWVodVideoModel *vodVideo) {
NSLog(@"%@",vodVideo);
//下载时,保存图片,名字等数据
weakSelf.playerView.vodModel = weakSelf.vodModel;
[weakSelf.playerView setVodVideo:vodVideo];
};
_playInfo.errorBlock = ^(NSError *error) {
playInfo.errorBlock = ^(NSError *error) {
[error.localizedDescription showAlert];
};
[_playInfo start];
[playInfo start];
}
//1片头广告,2暂停广告,3片尾广告
......
......@@ -4972,7 +4972,7 @@ static CGFloat barrageBgHeight = 40;
{
if (!_speedArray) {
_speedArray = [[NSMutableArray alloc]init];
NSArray * titles = @[@"0.5X",@"1.0X",@"1.5X",@"2.0X",@"2.5X"];
NSArray * titles = @[@"0.5X",@"1.0X",@"1.5X",@"2.0X"];
[titles enumerateObjectsUsingBlock:^(id _Nonnull obj, NSUInteger idx, BOOL * _Nonnull stop) {
DWTableChooseModel * chooseModel = [[DWTableChooseModel alloc]init];
chooseModel.title = (NSString *)obj;
......
//版本号
#define SDK_VERSION @"4.15.6"
#define SDK_VERSION @"4.15.7"
#import <CCVodSDK/DWGIFManager.h>
#import <CCVodSDK/DWAdInfo.h>
......
//版本号
#define SDK_VERSION @"4.15.6"
#define SDK_VERSION @"4.15.7"
#import <CCVodSDK/DWGIFManager.h>
#import <CCVodSDK/DWAdInfo.h>
......
//版本号
#define SDK_VERSION @"4.15.6"
#define SDK_VERSION @"4.15.7"
#import <CCVodSDK/DWGIFManager.h>
#import <CCVodSDK/DWAdInfo.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