Commit 1fe89a38b4db5f742b66762226611dd9a9e6d04a

Authored by 梁星国
1 parent a1b44974

提交0.1.12

CNLiveUploadManager.podspec
@@ -8,7 +8,7 @@ @@ -8,7 +8,7 @@
8 8
9 Pod::Spec.new do |s| 9 Pod::Spec.new do |s|
10 s.name = 'CNLiveUploadManager' 10 s.name = 'CNLiveUploadManager'
11 - s.version = '0.1.11' 11 + s.version = '0.1.12'
12 s.summary = '压缩上传,组件化中加入新参数加入outPath,不在直接取' 12 s.summary = '压缩上传,组件化中加入新参数加入outPath,不在直接取'
13 13
14 # This description is used to generate tags and improve search results. 14 # This description is used to generate tags and improve search results.
CNLiveUploadManager/Classes/CNLiveUploadManager.m
@@ -2047,7 +2047,7 @@ static CNLiveUploadManager *_uploadManager; @@ -2047,7 +2047,7 @@ static CNLiveUploadManager *_uploadManager;
2047 2047
2048 NSDateFormatter *formater = [[NSDateFormatter alloc] init]; 2048 NSDateFormatter *formater = [[NSDateFormatter alloc] init];
2049 [formater setDateFormat:@"yyyy-MM-dd-HH:mm:ss-SSS"]; 2049 [formater setDateFormat:@"yyyy-MM-dd-HH:mm:ss-SSS"];
2050 - NSString *filaName = [NSString stringWithFormat:@"output-%@_%d_fileType=videoType.mp4",[formater stringFromDate:[NSDate date]],arc4random()]; 2050 + NSString *filaName = [NSString stringWithFormat:@"/output-%@_%d_fileType=videoType.mp4",[formater stringFromDate:[NSDate date]],arc4random()];
2051 2051
2052 // NSString *outputPath = [NSHomeDirectory() stringByAppendingFormat:@"/tmp/output-%@.mp4", [formater stringFromDate:[NSDate date]]]; 2052 // NSString *outputPath = [NSHomeDirectory() stringByAppendingFormat:@"/tmp/output-%@.mp4", [formater stringFromDate:[NSDate date]]];
2053 NSString *editOutputPath = @""; 2053 NSString *editOutputPath = @"";
@@ -2189,7 +2189,7 @@ static CNLiveUploadManager *_uploadManager; @@ -2189,7 +2189,7 @@ static CNLiveUploadManager *_uploadManager;
2189 NSDateFormatter *formater = [[NSDateFormatter alloc] init]; 2189 NSDateFormatter *formater = [[NSDateFormatter alloc] init];
2190 [formater setDateFormat:@"yyyy-MM-dd-HH:mm:ss-SSS"]; 2190 [formater setDateFormat:@"yyyy-MM-dd-HH:mm:ss-SSS"];
2191 NSInteger rand = random(); 2191 NSInteger rand = random();
2192 - NSString *filaName = [NSString stringWithFormat:@"output-%@_fileType=videoType_%ld.mp4",[formater stringFromDate:[NSDate date]],rand]; 2192 + NSString *filaName = [NSString stringWithFormat:@"/output-%@_fileType=videoType_%ld.mp4",[formater stringFromDate:[NSDate date]],rand];
2193 2193
2194 editOutputPath = [[CNLiveUploadManager createVideoFolderOutputPath:outputPath] stringByAppendingString:filaName]; 2194 editOutputPath = [[CNLiveUploadManager createVideoFolderOutputPath:outputPath] stringByAppendingString:filaName];
2195 2195