Commit 1fe89a38b4db5f742b66762226611dd9a9e6d04a
1 parent
a1b44974
提交0.1.12
Showing
2 changed files
with
3 additions
and
3 deletions
CNLiveUploadManager.podspec
CNLiveUploadManager/Classes/CNLiveUploadManager.m
| ... | ... | @@ -2047,7 +2047,7 @@ static CNLiveUploadManager *_uploadManager; |
| 2047 | 2047 | |
| 2048 | 2048 | NSDateFormatter *formater = [[NSDateFormatter alloc] init]; |
| 2049 | 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 | 2052 | // NSString *outputPath = [NSHomeDirectory() stringByAppendingFormat:@"/tmp/output-%@.mp4", [formater stringFromDate:[NSDate date]]]; |
| 2053 | 2053 | NSString *editOutputPath = @""; |
| ... | ... | @@ -2189,7 +2189,7 @@ static CNLiveUploadManager *_uploadManager; |
| 2189 | 2189 | NSDateFormatter *formater = [[NSDateFormatter alloc] init]; |
| 2190 | 2190 | [formater setDateFormat:@"yyyy-MM-dd-HH:mm:ss-SSS"]; |
| 2191 | 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 | 2194 | editOutputPath = [[CNLiveUploadManager createVideoFolderOutputPath:outputPath] stringByAppendingString:filaName]; |
| 2195 | 2195 | ... | ... |