I’ve implemented a way to upload video to youtube, etc. using multipart post, or save a video to the camera roll locally. However, with large videos I get watchdogged due to too large of a memory footprint, because currently I have to put the entire video in memory in order to post it or save it.
What are the steps I could take to break up a large video into manageable chunks?
You can save your video to a file and use nsstream to read chunks of the video and send them, you’ll have to keep some state to remember what u sent and what’s left but it shouldn’t be too bad to implement, for example