BANetManager icon indicating copy to clipboard operation
BANetManager copied to clipboard

上传视频时的问题

Open mephistobaal opened this issue 6 years ago • 1 comments

获得视频沙盒路径使用BAFileDataEntity 上传时,[avAssetExport status] 的状态不是AVAssetExportSessionStatusCompleted 直接走了default 并且控制台只打印了一个 NSURLConnection finished with error - code -1002 就结束了 这是啥原因呢?

mephistobaal avatar May 06 '18 12:05 mephistobaal

替换AVURLAsset *avAsset = [AVURLAsset URLAssetWithURL:[NSURL URLWithString:fileEntity.filePath] options:nil]; 为 AVURLAsset *avAsset = [AVURLAsset URLAssetWithURL:[NSURL fileURLWithPath:fileEntity.filePath] options:nil];

w819314930 avatar Jun 05 '19 08:06 w819314930