Trying to figure out why I get "Export session failed: Cannot Save:"
Separate uploadToServer in uploadImageToServer and uploadVideoToServer,
do the resizing before uploading instead of after picking.