BANetManager
BANetManager copied to clipboard
上传视频时的问题
获得视频沙盒路径使用BAFileDataEntity 上传时,[avAssetExport status] 的状态不是AVAssetExportSessionStatusCompleted 直接走了default 并且控制台只打印了一个 NSURLConnection finished with error - code -1002 就结束了 这是啥原因呢?
替换AVURLAsset *avAsset = [AVURLAsset URLAssetWithURL:[NSURL URLWithString:fileEntity.filePath] options:nil]; 为 AVURLAsset *avAsset = [AVURLAsset URLAssetWithURL:[NSURL fileURLWithPath:fileEntity.filePath] options:nil];