Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for sending slow motion videos #4541

Merged
merged 8 commits into from
Jul 12, 2021

Conversation

pixlwave
Copy link
Member

@pixlwave pixlwave commented Jul 9, 2021

Fixes #4483. Slow motion videos are returned from the photos picker as AVComposition objects which weren't handled appearing as though the picker ignored your tap. To fix this, after picking a video it is no longer passed around as a URL to the video, but as the AVAsset originally returned from PHImageManager.

I've tested sending regular and slow motion (where possible) videos from these 3 sections of the composer:

IMG_0039

as well as from the share extension.

Depends upon: matrix-org/matrix-ios-kit#848 and matrix-org/matrix-ios-sdk#1153.

Note: Some slow motion videos may still ultimately fail to send due to their large file sizes.

@pixlwave
Copy link
Member Author

Additionally tested pasting a video into the message composer too.

@pixlwave pixlwave merged commit 3f15a44 into develop Jul 12, 2021
@pixlwave pixlwave deleted the doug/4483_fix_picking_slow_mo_videos branch July 12, 2021 15:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Unable to upload slow motion (slo-mo) videos from my iPhone 6 + (iOS v12.5.4).
2 participants