This repository has been archived by the owner. It is now read-only.

Add ability to provide chunks to uploader #2040

Open
Kontsedal opened this Issue Aug 6, 2018 · 1 comment

Comments

Projects
None yet
2 participants
@Kontsedal
Copy link

Kontsedal commented Aug 6, 2018

Type of issue

  • Bug report
  • Feature request

Uploader type

  • Traditional
  • S3
  • Azure
Feature Request

Feature request details

I think it is better to provide a use case.
You have a video stream recorder(webcam, audio, desktop etc.). During recording it generates Blobs which must be uploaded to S3. Currently, Fineuploader suppots only complete files which will be splitted to chunks and uploaded. Request is to provide more low level API for multipart chunked uploading, for example:

let fileId = uploaderInstance.createMultipartUpload();
uploaderInstance.addChunk(fileId, blob1);
uploaderInstance.addChunk(fileId, blob2);
uploaderInstance.addChunk(fileId, blob3);
uploaderInstance.completeMultipartUpload(fileId);
@SinghSukhdeep

This comment has been minimized.

Copy link
Member

SinghSukhdeep commented Oct 2, 2018

I don't know whether this is even doable.
Maybe @rnicholus can chime in on this.
But I don't see this happening anytime soon unless someone want to give it a shot.
PR's are welcome..

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.