Video playback is sometimes broken for the sender
I have:
- [x] searched open and closed issues for duplicates
- [x] read https://github.com/WhisperSystems/Signal-Android/wiki/Submitting-useful-bug-reports
Bug description
When viewing a video in a conversation the video fails to play for the device that sent the video. The recipient is able to view the video without issue. This issue has happened to me with multiple videos and it may be related to file size because I sent a very short video as a test to replicate this and the issue was not present. All videos in question were recorded with the device's camera using the default Android camera app at 1920x1080 and 60fps.
Steps to reproduce
- Send a video to someone
- After the video has been sent, tap the preview thumbnail to begin playback
Actual result: The playback screen opens but it only shows a black frame and the video does not play Expected result: The video should play
Screenshots

Device info
Device: Google Pixel Android version: 7.1.1 Signal version: 3.28.4
Link to debug log
https://gist.github.com/42c90d1b77837e33c8af219e1f2f4889
Do these longer video files play if you wait a bit after tapping the thumbnail, like 15-20 seconds?
Yes, after 30 seconds or so it begins playing but it halts before reaching the end of the video. The video in question is around 50 megabytes.
@haffenloher @junitas Same here, more or less, but:
- I'm the recipient, not the sender;
- The video does not autoplay even if I wait up to two minutes after tapping the thumbnail;
- The video plays if I move the video progress bar, but halts before reaching the end.
Nexus 6, stock Android 7.1.1, Signal 3.31.4. The video is 26 seconds long.
Edit: I can reproduce it even when I'm on the receiving side. Debug log: https://gist.github.com/anonymous/914c50ab83246d085624a2e984853bfb
GitHub Issue Cleanup: See #7598 for more information.