0

I'm trying to use chunked uploads to "stream" a video file up to Dropbox as it's being recorded.

I start the upload a few seconds after the video recording starts, in order to prevent the upload from ever catching up to the end of the video file.

When I stop recording before the chunked upload starts, everything works fine.

But if I stop recording after the upload starts, everything appears to work correctly, but the resulting movie file is corrupted.

Are chunked uploads of an open (and expanding) file not supported?

3
  • [Cross-linking for reference: dropboxforum.com/hc/communities/public/questions/… ]
    – Greg
    Commented Jul 9, 2015 at 22:09
  • Update your question with relevant code.
    – rmaddy
    Commented Jul 9, 2015 at 23:37
  • The problem was that the video file format has a header segment which is written after the file is complete. So it is not possible to transmit the file in chunks because the header will be modified after it has been transmitted, resulting in a bad file. Commented Aug 27, 2015 at 23:58

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.