ios - Multipart upload using Quickblox for large files -
i using quickblox backend service , far has been great, having trouble uploading large video files.
here's how upload video files using quickblox ios sdk:
[qbrequest tuploadfile:self.videodata filename:@"testing" contenttype:@"video/quicktime" ispublic:yes successblock:^(qbresponse *response, qbcblob *blob) { //success } statusblock:^(qbrequest *request, qbrequeststatus *status) { // update progress nslog(@"completion : %f", status.percentofcompletion); } errorblock:^(qbresponse *response) { // }];
this works fine of time, when self.videodata
bigger, 20mb, app crash. after doing research on stackoverflow, looks right way upload large files server without crashing app multipart upload.
how can multipart upload quickblox? i'm willing use rest api if ios sdk not work.
i need know if possible or not, , if yes how started.
Comments
Post a Comment