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?