Upload video in chunks when to do multiple APPEND

media-upload
ios

#1

Hi,

I have been successful at uploading videos using the “chunk” option via the following:

POST media/upload (INIT)
POST media/upload (APPEND)
POST media/upload (FINALIZE)

When using APPEND, I set the segment_index to “0”.

I believe this method of uploading is to send the data in chunks.

How do I know whether to call APPEND multiple times, sending the next chunk of data each time, until all of it has been sent?

Thanks