mirror of
https://github.com/DmcSDK/cordova-plugin-mediaPicker
synced 2026-05-22 00:01:31 +08:00
ios erro log
This commit is contained in:
@@ -170,7 +170,8 @@
|
||||
[exportSession exportAsynchronouslyWithCompletionHandler:^{
|
||||
|
||||
if (exportSession.status == AVAssetExportSessionStatusFailed) {
|
||||
[self.commandDelegate sendPluginResult:[CDVPluginResult resultWithStatus:CDVCommandStatus_ERROR messageAsString:@"compress failed"] callbackId:callbackId];
|
||||
NSString * errorString = [NSString stringWithFormat:@"videoToSandboxCompress failed %@",exportSession.error];
|
||||
[self.commandDelegate sendPluginResult:[CDVPluginResult resultWithStatus:CDVCommandStatus_ERROR messageAsString:errorString] callbackId:callbackId];
|
||||
NSLog(@"failed");
|
||||
|
||||
} else if(exportSession.status == AVAssetExportSessionStatusCompleted){
|
||||
|
||||
Reference in New Issue
Block a user