You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Remove file copy / export from the "composite" upload task. It's unreliable to conduct a copy / export in between background tasks (i.e. conducting copy / export when a background task completes, before starting the next background task). We don't know how much time the OS will allow us in between tasks. Therefore conducting copy / export at that time becomes less reliable as filesize increases. See this issue.
Provide a mechanism for consumers of the API to monitor copy / export progress.
Make the API simpler, more abstract, more flexible by removing the awareness of ALAssets and PHAssets. An API that accepts a url to a local file will accommodate more consumers.
Allow composite upload tasks to occur in parallel rather than in serial.
Provide a mechanism for consumers to define which network tasks they'd like to perform as part of the upload. For example, one consumer might want to perform the standard "Create" > "Upload" > "Activate" steps. Whereas another might want to append the "VideoSettings" request to that flow, yielding "Create" > "Upload" > "Activate" > "VideoSettings". And still another might want to append a custom task that does something like post the newly retrieved video_uri to their own servers: "Create" > "Upload" > "Activate" > "VideoSettings" > "CustomTask".
Surface information about upload system lifecycle and upload task lifecycle to the calling (e.g. app) context so the containing context can manage logging and use-case-specific state persistence on it's own. Error tracking and classes like VIMUploadTaskQueueTracker in v1.0 are cumbersome.
Work in progress...
Proposed Changes
File copy / export will be the responsibility of the consumer. The upload library will provide convenience mechanisms (via NSOperation subclasses) to export assets to disk. Consumers will pass the url to the local file into the upload system.
The upload system will have no knowledge of ALAssets or PHAssets. It will accept a URL to a local and accessible video file and manipulate this as needed.
Work in progress...
The text was updated successfully, but these errors were encountered:
Goals
video_uri
to their own servers: "Create" > "Upload" > "Activate" > "VideoSettings" > "CustomTask".VIMUploadTaskQueueTracker
in v1.0 are cumbersome.Work in progress...
Proposed Changes
Work in progress...
The text was updated successfully, but these errors were encountered: