0

I want to upload video to web service.

 -(void)imagePickerController:(UIImagePickerController *)picker didFinishPickingMediaWithInfo:(NSDictionary *)info {

     NSURL *chosenMovie = [info objectForKey:UIImagePickerControllerMediaURL];

     NSData *uploaddata=[NSData dataWithContentsOfURL:chosenMovie];

   // Here I’m uploading bytes info to my server.

}

But its taking long time to upload, let me know other available options for fast uploading.

HaveNoDisplayName
  • 8,291
  • 106
  • 37
  • 47
siva krishna
  • 1,149
  • 2
  • 15
  • 23
  • you can alter the quality of the video and start uploading it so that it would take a short amount of time. Are you consider doing that? – Saheb Roy Nov 24 '15 at 06:46
  • Converting to Mp4 like this AVAssetExportSession *exportSession = [[AVAssetExportSession alloc]initWithAsset:avAsset presetName:AVAssetExportPresetPassthrough]; – siva krishna Nov 24 '15 at 09:33

0 Answers0