When using the VideoKit recorder, videos will be automatically uploaded as soon as you start recording.
However, you are free to upload other videos through our system. The entry point is represented by
the upload manager returned by
Note that while video upload can take some time, if the app is killed while the upload is in progress, they are automatically resumed as soon as the app is reopened. The same logic stands for connection problems.
To upload videos, you need to create an upload request:
Then, the request must be passed to the upload manager:
upload() method will return an
Upload object which contains useful information and data,
Video object that is going to be saved to network.
To check the upload state, you can add a listener:
To query all the pending uploads, the
VideoKit.uploads().uploads property will return
a list of
The upload manager provides utilities to cancel the upload for a given id,