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

Prevent video stop in MediaPageViewController when new attachment arrives. #5787

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

alex1704
Copy link

@alex1704 alex1704 commented Apr 4, 2024

First time contributor checklist

Contributor checklist

  • My commits are rebased on the latest main branch
  • My commits are in nice logical chunks
  • My contribution is fully baked and is ready to be merged as is
  • I have tested my contribution on these devices:
  • iPhone 7, iOS 15.7.9

Description

When user opens video attachment, MediaPageViewController presents it and play it. If in this moment user receives new attachment - audio or video then video stops playing.
Solution is to reload attachment only if it is different then current one.

Steps to reproduce:
Assuming that phone1 received video attachment (say 20 seconds long) at some point

  1. on phone1 open mentioned video attachment
  2. on phone2 send to phone1 photo or audio message
  3. video on phone1 stops playing

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant