element-hq / element-hq/element-ios

Native iOS videos won’t upload

Open
#4,740 8 comments 0 reactions 0 assignees View on GitHub
T-Defect
Dominant language
Swift
Stars
1.8k
Forks
544
PR merge metrics
PR metrics pending

Description

#### Describe
native videos on iPhone XS Max will fail uploading every time no matter how large the video is, even a 2 second video.

however, if I use an app such as “compress” to recompress the video again (at the same quality), then all videos appear to work and will upload.

there seems to be something specific in the iOS videos Element doesn’t like.

#### Steps to reproduce:
Steps to reproduce the behavior:
1. Go to a private chat screen.
2. Select video to send from Photos Library.
3. Element will attempt to send the video and fail after a moment - every time.

To fix:

download “Compress” app from store.
Compress the problem video again (even back to the same file size as before).
Attempt the process again using the new version of the video.
It will work and send successfully.

#### Expected behavior
Native iOS videos should upload correctly from the Photos library without issue.

#### Screenshots
If applicable, add screenshots to help explain your problem.

#### Contextual information:

iPhone XS Max
iOS 14.7.1
Element App version 1.5.1

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.